mariadb/server-tools/instance-manager/IMService.h

33 lines
955 B
C
Raw Normal View History

/* Copyright (C) 2005 MySQL AB
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; version 2 of the License.
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 St, Fifth Floor, Boston, MA 02110-1301 USA */
2005-07-20 10:55:40 -05:00
#pragma once
#include "WindowsService.h"
2005-07-20 10:55:40 -05:00
class IMService: public WindowsService
2005-07-20 10:55:40 -05:00
{
public:
static int main();
private:
2005-07-20 10:55:40 -05:00
IMService(void);
~IMService(void);
protected:
void Log(const char *msg);
void Stop();
2005-09-13 14:53:19 -05:00
void Run(DWORD argc, LPTSTR *argv);
2005-07-20 10:55:40 -05:00
};