NSM.H (1994B)
1 2 /*******************************************************************************/ 3 /* Copyright (C) 2012 Jonathan Moore Liles */ 4 /* */ 5 /* This program is free software; you can redistribute it and/or modify it */ 6 /* under the terms of the GNU General Public License as published by the */ 7 /* Free Software Foundation; either version 2 of the License, or (at your */ 8 /* option) any later version. */ 9 /* */ 10 /* This program is distributed in the hope that it will be useful, but WITHOUT */ 11 /* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */ 12 /* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for */ 13 /* more details. */ 14 /* */ 15 /* You should have received a copy of the GNU General Public License along */ 16 /* with This program; see the file COPYING. If not,write to the Free Software */ 17 /* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ 18 /*******************************************************************************/ 19 20 #pragma once 21 22 #if USE_NSM 23 #include "NSM/Client.H" 24 #include "../Misc/MiddleWare.h" 25 26 class NSM_Client:public NSM::Client 27 { 28 public: 29 30 char *project_filename; 31 char *display_name; 32 zyn::MiddleWare *middleware; 33 34 NSM_Client(zyn::MiddleWare *m); 35 ~NSM_Client() { } 36 37 protected: 38 39 int command_open(const char *name, 40 const char *display_name, 41 const char *client_id, 42 char **out_msg); 43 int command_save(char **out_msg); 44 45 void command_active(bool active); 46 }; 47 #endif