📄 main.cpp
字号:
/*
002 Copyright (C) 2004 Mika Raento - Renaud Petit
003
004 This program is free software; you can redistribute it and/or modify
005 it under the terms of the GNU General Public License as published by
006 the Free Software Foundation; either version 2 of the License, or
007 (at your option) any later version.
008
009 This program is distributed in the hope that it will be useful,
010 but WITHOUT ANY WARRANTY; without even the implied warranty of
011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
012 GNU General Public License for more details.
013
014 You should have received a copy of the GNU General Public License
015 along with this program; if not, write to the Free Software
016 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
017
018
019 email: mraento@cs.helsinki.fi - petit@cs.helsinki.fi
020 */
021
022
023 #include "ContextNotify.h"
024
025 #ifdef __WINS__
026 // @anchor WinsMain
027 IMPORT_C TInt WinsMain();
028 EXPORT_C TInt WinsMain()
029 {
030 return reinterpret_cast<TInt>(&CContextNotify::ThreadFunction);
031 }
032
033 // @anchor E32Dll
034 GLDEF_C TInt E32Dll(TDllReason)
035 {
036 return KErrNone;
037 }
038
039 #else // __ARMI__
040
041 // @anchor E32Main
042 TInt E32Main()
043 {
044 return CContextNotify::ThreadFunction(NULL);
045 }
046
047 #endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -