2006-08-13 04:00:15 -05:00
|
|
|
/*
|
2007-06-24 12:56:20 -05:00
|
|
|
* mooapp/mooapp-private.h
|
2006-08-13 04:00:15 -05:00
|
|
|
*
|
2010-12-21 20:15:45 -08:00
|
|
|
* Copyright (C) 2004-2010 by Yevgen Muntyan <emuntyan@users.sourceforge.net>
|
2006-08-13 04:00:15 -05:00
|
|
|
*
|
2008-09-05 17:20:50 -05:00
|
|
|
* This file is part of medit. medit is free software; you can
|
|
|
|
* redistribute it and/or modify it under the terms of the
|
|
|
|
* GNU Lesser General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2.1 of the License,
|
|
|
|
* or (at your option) any later version.
|
2006-08-13 04:00:15 -05:00
|
|
|
*
|
2008-09-05 17:20:50 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with medit. If not, see <http://www.gnu.org/licenses/>.
|
2006-08-13 04:00:15 -05:00
|
|
|
*/
|
|
|
|
|
2007-06-10 04:06:03 -05:00
|
|
|
#ifndef MOO_APP_PRIVATE_H
|
|
|
|
#define MOO_APP_PRIVATE_H
|
2006-08-13 04:00:15 -05:00
|
|
|
|
2008-05-15 23:06:45 -05:00
|
|
|
#include "mooapp.h"
|
2006-08-13 04:00:15 -05:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2008-02-20 06:52:05 -06:00
|
|
|
typedef enum
|
|
|
|
{
|
2010-10-25 00:05:49 -07:00
|
|
|
CMD_SCRIPT = 1,
|
2008-09-17 00:07:16 -05:00
|
|
|
CMD_OPEN_FILES,
|
|
|
|
CMD_LAST
|
2008-02-20 06:52:05 -06:00
|
|
|
} MooAppCmdCode;
|
|
|
|
|
2008-09-17 00:07:16 -05:00
|
|
|
/* I is taken by the IPC thing */
|
2010-10-25 00:05:49 -07:00
|
|
|
#define CMD_SCRIPT_S "e"
|
2008-09-17 00:07:16 -05:00
|
|
|
#define CMD_OPEN_FILES_S "F"
|
2008-02-20 06:52:05 -06:00
|
|
|
|
|
|
|
static const char *moo_app_cmd_chars =
|
2008-09-17 00:07:16 -05:00
|
|
|
"\0"
|
2010-10-25 00:05:49 -07:00
|
|
|
CMD_SCRIPT_S
|
2008-09-17 00:07:16 -05:00
|
|
|
CMD_OPEN_FILES_S
|
2008-02-20 06:52:05 -06:00
|
|
|
;
|
|
|
|
|
2006-08-13 04:00:15 -05:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
2007-06-10 04:06:03 -05:00
|
|
|
#endif /* MOO_APP_PRIVATE_H */
|