project list -> world tree

This commit is contained in:
Nedko Arnaudov 2009-08-22 03:46:20 +03:00
parent 4bc224e2b8
commit 5172f7ffe9
3 changed files with 36 additions and 22 deletions

View File

@ -2,7 +2,7 @@
/*
* LADI Session Handler (ladish)
*
* Copyright (C) 2008 Nedko Arnaudov <nedko@arnaudov.name>
* Copyright (C) 2008, 2009 Nedko Arnaudov <nedko@arnaudov.name>
*
**************************************************************************
* This file contains implementation of the project_list class
@ -25,7 +25,9 @@
*/
#include "common.h"
#include "world_tree.h"
#if 0
#include <iostream>
#include <gtkmm.h>
#include <libglademm/xml.h>
@ -374,3 +376,24 @@ project_list::set_lash_availability(
{
_impl_ptr->_widget->set_sensitive(lash_active);
}
#endif
void world_tree_init(void)
{
}
void world_tree_add_studio(graph_handle graph)
{
}
void world_tree_remove_studio(graph_handle graph)
{
}
void world_tree_add_jack(graph_handle graph)
{
}
void world_tree_remove_jack(graph_handle graph)
{
}

View File

@ -2,10 +2,10 @@
/*
* LADI Session Handler (ladish)
*
* Copyright (C) 2008 Nedko Arnaudov <nedko@arnaudov.name>
* Copyright (C) 2008, 2009 Nedko Arnaudov <nedko@arnaudov.name>
*
**************************************************************************
* This file contains interface of the project_list class
* This file contains the interface of the world tree widget
**************************************************************************
*
* LADI Session Handler is free software; you can redistribute it and/or modify
@ -24,26 +24,17 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef PROJECT_LIST_HPP__D786489B_E400_4E92_85C7_2BAE606DE56D__INCLUDED
#define PROJECT_LIST_HPP__D786489B_E400_4E92_85C7_2BAE606DE56D__INCLUDED
#ifndef WORLD_TREE_H__D786489B_E400_4E92_85C7_2BAE606DE56D__INCLUDED
#define WORLD_TREE_H__D786489B_E400_4E92_85C7_2BAE606DE56D__INCLUDED
struct project_list_impl;
class Patchage;
class session;
#include "../graph_proxy.h"
class project_list
{
public:
project_list(
Patchage* app,
session * session_ptr);
void world_tree_init(void);
~project_list();
void world_tree_add_studio(graph_handle graph);
void world_tree_remove_studio(graph_handle graph);
void set_lash_availability(bool lash_active);
void world_tree_add_jack(graph_handle graph);
void world_tree_remove_jack(graph_handle graph);
private:
project_list_impl * _impl_ptr;
};
#endif // #ifndef PROJECT_LIST_HPP__D786489B_E400_4E92_85C7_2BAE606DE56D__INCLUDED
#endif // #ifndef WORLD_TREE_H__D786489B_E400_4E92_85C7_2BAE606DE56D__INCLUDED

View File

@ -271,7 +271,7 @@ def build(bld):
#'lash_proxy.cpp',
#'load_projects_dialog.cpp',
#'project.cpp',
#'project_list.cpp',
'world_tree.c',
#'project_properties.cpp',
#'session.cpp',
#'a2j_proxy.cpp',