Adding upstream version 0.9.0.
[debian/lxpanel.git] / src / lxpanelctl.h
CommitLineData
0688b017
AG
1/*
2 * Copyright (C) 2006 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
3 * 2010 Marty Jack <martyj19@comcast.net>
7a1c5048 4 * 2016 Andriy Grytsenko <andrej@rep.kiev.ua>
0688b017
AG
5 *
6 * This file is a part of LXPanel project.
6cc5e1a6
DB
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software Foundation,
20 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 */
22
4652f59b
DB
23#ifndef _LXPANELCTL_H
24#define _LXPANELCTL_H
6cc5e1a6 25
4652f59b
DB
26/* Commands controlling lxpanel.
27 * These are the parameter of a _LXPANEL_CMD ClientMessage to the root window.
28 * Endianness alert: Note that the parameter is in b[0], not l[0]. */
29typedef enum {
6cc5e1a6
DB
30 LXPANEL_CMD_NONE,
31 LXPANEL_CMD_SYS_MENU,
32 LXPANEL_CMD_RUN,
33 LXPANEL_CMD_CONFIG,
34 LXPANEL_CMD_RESTART,
7a1c5048
AG
35 LXPANEL_CMD_EXIT,
36 LXPANEL_CMD_COMMAND
4652f59b
DB
37} PanelControlCommand;
38
7a1c5048
AG
39/* this enum was in private.h but it is used by LXPANEL_CMD_COMMAND now */
40enum { EDGE_NONE=0, EDGE_LEFT, EDGE_RIGHT, EDGE_TOP, EDGE_BOTTOM };
41
4652f59b 42#endif