Merge branch 'main/rendor-staging' into fixes
[ryzomcore.git] / nel / src / net / stdin_monitor_thread.h
blobd49bf2f4a04df50cab827543623a960c047aa175
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef NL_STDIN_MONITOR_THREAD_H
19 #define NL_STDIN_MONITOR_THREAD_H
21 namespace NLNET
23 //-----------------------------------------------------------------------------
24 // class IStdinMonitorSingleton
25 //-----------------------------------------------------------------------------
27 class IStdinMonitorSingleton
29 public:
30 // static for getting hold of the singleton instance
31 static IStdinMonitorSingleton* getInstance();
33 // methods required by IStdinMonitorSingleton
34 virtual void init()=0;
35 virtual void update()=0;
36 virtual void release()=0;
38 // virtual destructor
39 virtual ~IStdinMonitorSingleton() { }
42 } // NLMISC
44 #endif