00001 // -*- c++ -*- 00002 00003 #ifndef CL2APPAPPUI_H 00004 #define CL2APPAPPUI_H 00005 00006 #include "ac_app_context_private.h" 00007 #include "kr_controller.h" 00008 00009 #include <aknappui.h> 00010 #include <coeccntx.h> 00011 #include <e32std.h> 00012 #include <eikapp.h> 00013 #include <eikdoc.h> 00014 00015 #include <glib.h> 00016 00017 class CCl2appContainer; 00018 00019 class CCl2appAppUi : 00020 public CAknAppUi, 00021 public MAppContextInitObserver 00022 { 00023 public: 00024 void ConstructL(); 00025 ~CCl2appAppUi(); 00026 00027 void DestroyLogger(); 00028 00029 // Just making this public rather than protected. 00030 void Exit() { CAknAppUi::Exit(); } 00031 00032 private: 00033 void Start(); 00034 void Stop(); 00035 00036 private: // MEikMenuObserver 00037 void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane); 00038 00039 private: // CEikAppUi 00040 void HandleCommandL(TInt aCommand); 00041 virtual TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent, 00042 TEventCode aType); 00043 00044 private: // MAppContextInitObserver 00045 void AppContextReady(TInt aError); 00046 00047 private: 00048 CCl2appContainer* iAppContainer; 00049 kr_Controller* iClient; 00050 }; 00051 00052 #endif // CL2APPAPPUI_H 00053 00054 /** 00055 00056 cl2appappui.h 00057 00058 Copyright 2009 Helsinki Institute for Information Technology (HIIT) 00059 and the authors. All rights reserved. 00060 00061 Authors: Tero Hasu <tero.hasu@hut.fi> 00062 00063 Permission is hereby granted, free of charge, to any person 00064 obtaining a copy of this software and associated documentation files 00065 (the "Software"), to deal in the Software without restriction, 00066 including without limitation the rights to use, copy, modify, merge, 00067 publish, distribute, sublicense, and/or sell copies of the Software, 00068 and to permit persons to whom the Software is furnished to do so, 00069 subject to the following conditions: 00070 00071 The above copyright notice and this permission notice shall be 00072 included in all copies or substantial portions of the Software. 00073 00074 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00075 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00076 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 00077 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 00078 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 00079 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00080 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 00081 SOFTWARE. 00082 00083 **/
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:52 2011 by Doxygen 1.6.1