From 6ef371745a1b672407cc594b7ec4cd50d721c4c2 Mon Sep 17 00:00:00 2001 From: Roy Vegard Ovesen Date: Thu, 21 Mar 2013 21:16:48 +0100 Subject: non-session-manager support Implements open, save and dirtiness. No error checking, no menu items disabling. --- gtk2_ardour/nsm.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 gtk2_ardour/nsm.h (limited to 'gtk2_ardour/nsm.h') 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); +}; + -- cgit v1.2.3