Jack2 1.9.12

JackClientInterface.h
1 /*
2 Copyright (C) 2001 Paul Davis
3 Copyright (C) 2004-2008 Grame
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation; either version 2.1 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19 */
20
21 #ifndef __JackClientInterface__
22 #define __JackClientInterface__
23
24 #include "JackCompilerDeps.h"
25
26 namespace Jack
27 {
28
29 struct JackClientControl;
30
35 class SERVER_EXPORT JackClientInterface
36 {
37
38 public:
39
40 JackClientInterface()
41 {}
42 virtual ~JackClientInterface()
43 {}
44
45 virtual int Close() = 0;
46
47 virtual int ClientNotify(int refnum, const char* name, int notify, int sync, const char* message, int value1, int value2) = 0;
48
49 virtual JackClientControl* GetClientControl() const = 0;
50 };
51
52
53 } // end of namespace
54
55 #endif
Jack::JackClientInterface
Client interface.
Definition: JackClientInterface.h:35
Jack::JackClientControl
Client control possibly in shared memory.
Definition: JackClientControl.h:38