mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +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:
committed by
Carlos R. Mafra
parent
8aca1b816f
commit
20a695f70f
@@ -52,6 +52,7 @@ wmaker_SOURCES = \
|
||||
misc.c \
|
||||
misc.h \
|
||||
monitor.c \
|
||||
monitor.h \
|
||||
motif.c \
|
||||
motif.h \
|
||||
moveres.c \
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
27
src/monitor.h
Normal 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 */
|
||||
Reference in New Issue
Block a user