Wexus2 0.20
|
00001 00002 /* 00003 * Copyright (c) 2012 Aleksander B. Demko 00004 * This source code is distributed under the MIT license. 00005 * See the accompanying file LICENSE.MIT.txt for details. 00006 */ 00007 00008 #ifndef __INCLUDED_WEXUS_UPTIMEAPP_H__ 00009 #define __INCLUDED_WEXUS_UPTIMEAPP_H__ 00010 00011 #include <wexus/Application.h> 00012 #include <wexus/Controller.h> 00013 00014 namespace wexus 00015 { 00016 class UptimeApp; 00017 class UptimeController; 00018 } 00019 00020 /** 00021 * A small app that does reports system uptiem and other sysadmin stuff. 00022 * 00023 * @author Aleksander Demko 00024 */ 00025 class wexus::UptimeApp : public wexus::Application 00026 { 00027 public: 00028 /// normal ctor 00029 UptimeApp(void); 00030 }; 00031 00032 class wexus::UptimeController : public wexus::Controller 00033 { 00034 public: 00035 void index(void); 00036 }; 00037 00038 #endif 00039