1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

New header file monitor.h

The file monitor.h includes the function prototypes for monitor.c.

The prototypes included were moved from funcs.h.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
Rodolfo García Peñas (kix)
2013-05-15 13:07:54 +02:00
committed by Carlos R. Mafra
parent 8aca1b816f
commit 20a695f70f
4 changed files with 29 additions and 5 deletions

View File

@@ -52,6 +52,7 @@ wmaker_SOURCES = \
misc.c \
misc.h \
monitor.c \
monitor.h \
motif.c \
motif.h \
moveres.c \

View File

@@ -32,11 +32,6 @@ typedef void (WCallBack)(void *cdata);
typedef void (WDeathHandler)(pid_t pid, unsigned int status, void *cdata);
/* ---[ monitor.c ]------------------------------------------------------- */
int MonitorLoop(int argc, char **argv);
/* ---[ osdep_*.c ]------------------------------------------------------- */
Bool GetCommandForPid(int pid, char ***argv, int *argc);

View File

@@ -55,6 +55,7 @@
#include "shutdown.h"
#include "dialog.h"
#include "main.h"
#include "monitor.h"
#include <WINGs/WUtil.h>

27
src/monitor.h Normal file
View File

@@ -0,0 +1,27 @@
/*
* Window Maker window manager
*
* Copyright (c) 1997-2003 Alfredo K. Kojima
* Copyright (c) 2013 Window Maker Team
*
* 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; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef WMMONITOR_H
#define WMMONITOR_H
int MonitorLoop(int argc, char **argv);
#endif /* WMMONITOR_H */