diff options
author | Roy Vegard Ovesen <roy.vegard.ovesen@gmail.com> | 2013-03-21 21:16:48 +0100 |
---|---|---|
committer | Roy Vegard Ovesen <roy.vegard.ovesen@gmail.com> | 2013-03-31 03:59:09 +0200 |
commit | 6ef371745a1b672407cc594b7ec4cd50d721c4c2 (patch) | |
tree | b68062cfc47216a9bd210a3576f6de329c512411 /gtk2_ardour/nsm.h | |
parent | 236360d8ffab9f095fcda9e09b159b2a47feb6af (diff) |
non-session-manager support
Implements open, save and dirtiness.
No error checking, no menu items disabling.
Diffstat (limited to 'gtk2_ardour/nsm.h')
-rw-r--r-- | gtk2_ardour/nsm.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gtk2_ardour/nsm.h b/gtk2_ardour/nsm.h new file mode 100644 index 0000000000..5491e1985f --- /dev/null +++ b/gtk2_ardour/nsm.h @@ -0,0 +1,39 @@ + +/*******************************************************************************/ +/* Copyright (C) 2012 Jonathan Moore Liles */ +/* */ +/* This program 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. */ +/* */ +/* This program 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 */ +/* more details. */ +/* */ +/* You should have received a copy of the GNU General Public License along */ +/* with This program; see the file COPYING. If not,write to the Free Software */ +/* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/*******************************************************************************/ + +#pragma once + +#include "nsmclient.h" + +class NSM_Client:public NSM::Client +{ + public: + + NSM_Client(); + ~NSM_Client() { } + + protected: + + int command_open(const char *name, + const char *display_name, + const char *client_id, + char **out_msg); + int command_save(char **out_msg); +}; + |