diff options
author | deva <deva> | 2006-07-20 20:35:10 +0000 |
---|---|---|
committer | deva <deva> | 2006-07-20 20:35:10 +0000 |
commit | 976707d45233f15bafb6d03f51cfd9f641583caf (patch) | |
tree | 60b230058e24171454b2373ad1d8a10aaa6fa180 /server/miav_daemon.h | |
parent | 01aa5ee5b68f8a8e09f19753072d2275a95d21b0 (diff) |
Added getopt
Cleaned out the old daemon code. No need for it anymore.
Added support for options using getopt - inspired by a patch supplied by Bertho Stultiens.
Moved the daemon code to main, and rendered miav_damon unnecessary.
Diffstat (limited to 'server/miav_daemon.h')
-rw-r--r-- | server/miav_daemon.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/server/miav_daemon.h b/server/miav_daemon.h deleted file mode 100644 index 6ab469e..0000000 --- a/server/miav_daemon.h +++ /dev/null @@ -1,42 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/*************************************************************************** - * miav_daemon.h - * - * Thu Jun 9 11:14:19 CEST 2005 - * Copyright 2005 Bent Bisballe - * deva@aasimon.org - ****************************************************************************/ - -/* - * This file is part of MIaV. - * - * MIaV 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. - * - * MIaV 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 MIaV; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. - */ -#include "config.h" -#ifndef __MIAV_MIAV_DAEMON_H__ -#define __MIAV_MIAV_DAEMON_H__ - -#include "daemon.h" - -class MiavDaemon: public Daemon { -public: - MiavDaemon(); - ~MiavDaemon(); - -private: - int daemon_main(); -}; - -#endif/*__MIAV_MIAV_DAEMON_H__*/ |