summaryrefslogtreecommitdiffstats
path: root/raul/LashProject.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-22 03:26:33 +0000
committerDavid Robillard <d@drobilla.net>2008-08-22 03:26:33 +0000
commitba6d8f840be5cadfeaa01f3ec488f02518eb684a (patch)
tree6ccb66ca2fcad5cbeaafe3d0f166711568f6eea0 /raul/LashProject.hpp
parentbd16306d425a8ed25cf4196f43521ca3f0f3346e (diff)
downloadraul-ba6d8f840be5cadfeaa01f3ec488f02518eb684a.tar.gz
raul-ba6d8f840be5cadfeaa01f3ec488f02518eb684a.tar.bz2
raul-ba6d8f840be5cadfeaa01f3ec488f02518eb684a.zip
Lash D-Bus support and projects list from LADI Patchage, with improvements/cleanup/sanification/etc.
Remove liblash stuff (meh, what the hell... here's to new beginnings). Enable/disable/hide/etc patchage widgets better based on available (compiled in) functionality. git-svn-id: http://svn.drobilla.net/lad/raul@1462 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul/LashProject.hpp')
-rw-r--r--raul/LashProject.hpp60
1 files changed, 0 insertions, 60 deletions
diff --git a/raul/LashProject.hpp b/raul/LashProject.hpp
deleted file mode 100644
index ae641a5..0000000
--- a/raul/LashProject.hpp
+++ /dev/null
@@ -1,60 +0,0 @@
-/* This file is part of Raul.
- * Copyright (C) 2007 Dave Robillard <http://drobilla.net>
- *
- * Raul is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * Raul is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef RAUL_LASH_PROJECT_HPP
-#define RAUL_LASH_PROJECT_HPP
-
-#include <string>
-#include <sigc++/sigc++.h>
-#include <raul/SharedPtr.hpp>
-#include <raul/WeakPtr.hpp>
-#include <raul/LashClient.hpp>
-
-namespace Raul {
-
-
-class LashProject : public sigc::trackable {
-public:
- LashProject(SharedPtr<LashClient> client, const std::string& name);
-
- void save();
- void close();
-
- const std::string& name() { return _name; }
- const std::string& directory() { return _directory; }
-
- void set_directory(const std::string& filename);
- void set_name(const std::string& name);
-
- sigc::signal<void, const std::string&> signal_name;
- sigc::signal<void, const std::string&> signal_directory;
- sigc::signal<void, const std::string&> signal_save_file;
- sigc::signal<void, const std::string&> signal_restore_file;
-
- bool operator==(const std::string& name) { return _name == name; }
-
-private:
- WeakPtr<LashClient> _client;
- std::string _name;
- std::string _directory;
-};
-
-
-} // namespace Raul
-
-#endif // RAUL_LASH_PROJECT_HPP
-