summaryrefslogtreecommitdiffstats
path: root/src/LashClient.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-15 03:59:18 +0000
committerDavid Robillard <d@drobilla.net>2010-12-15 03:59:18 +0000
commitcbe721af1a9c84169cec5e58ffbd71367bb8199b (patch)
treeb209ed019e1d4ddb9d190f93404837860c3cd569 /src/LashClient.hpp
parent3379430e15a59a96562e8cdebe7cbf81efc1b3d3 (diff)
downloadpatchage-cbe721af1a9c84169cec5e58ffbd71367bb8199b.tar.gz
patchage-cbe721af1a9c84169cec5e58ffbd71367bb8199b.tar.bz2
patchage-cbe721af1a9c84169cec5e58ffbd71367bb8199b.zip
Simplify LashClient.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2694 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/LashClient.hpp')
-rw-r--r--src/LashClient.hpp20
1 files changed, 5 insertions, 15 deletions
diff --git a/src/LashClient.hpp b/src/LashClient.hpp
index 6ae6a2b..bd18d6c 100644
--- a/src/LashClient.hpp
+++ b/src/LashClient.hpp
@@ -1,6 +1,5 @@
-// -*- Mode: C++ ; indent-tabs-mode: t -*-
/* This file is part of Patchage.
- * Copyright (C) 2008-2009 David Robillard <http://drobilla.net>
+ * Copyright (C) 2008-2010 David Robillard <http://drobilla.net>
* Copyright (C) 2008 Nedko Arnaudov <nedko@arnaudov.name>
*
* Patchage is free software; you can redistribute it and/or modify it under the
@@ -24,37 +23,28 @@
#include <sigc++/signal.h>
class LashClientImpl;
-class LashProxy;
-class LashProxyImpl;
class Project;
class LashClient
{
public:
LashClient(
- LashProxy* proxy,
- Project* project,
+ Project* project,
const std::string& id,
const std::string& name);
~LashClient();
- Project*
- get_project();
+ Project* get_project();
- const std::string& get_id() const;
+ const std::string& get_id() const;
const std::string& get_name() const;
- void do_rename(const std::string& name);
+ void set_name(const std::string& name);
sigc::signal<void> _signal_renamed;
private:
- friend class LashProxyImpl;
-
- void
- on_name_changed(const std::string& name);
-
LashClientImpl* _impl;
};