Subversion Repositories spk

Rev

Rev 64 | Rev 86 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 64 Rev 84
Line 109... Line 109...
109
					searchKey->SetValue("DontAutoResume", zero);
109
					searchKey->SetValue("DontAutoResume", zero);
110
			}
110
			}
111
			else if ( argSwitch == "--debug" ) {
111
			else if ( argSwitch == "--debug" ) {
112
				CFileLog *log = dynamic_cast<CFileLog *>(CFileLog::create());
112
				CFileLog *log = dynamic_cast<CFileLog *>(CFileLog::create());
113
				log->setFile(_S(mydoc) + "/Egosoft/pluginmanager.log");
113
				log->setFile(_S(mydoc) + "/Egosoft/pluginmanager.log");
114
				log->setFilter(CLog::Log_Install | CLog::Log_Uninstall | CLog::Log_IO);
114
				log->setFilter(CLog::Log_Install | CLog::Log_Uninstall | CLog::Log_IO | CLog::Log_Directory | CLog::Log_File);
115
				log->setLevel(rest.ToInt());
115
				log->setLevel(rest.ToInt());
116
			}
116
			}
117
		}
117
		}
118
		// otherwise it must be a file to open
118
		// otherwise it must be a file to open
119
		else
119
		else
120
			openPackage = SystemStringFromCyString(arg);
120
			openPackage = SystemStringFromCyString(arg);
121
	}
121
	}
-
 
122
 
-
 
123
#if _DEBUG
-
 
124
	CFileLog *log = dynamic_cast<CFileLog *>(CFileLog::create());
-
 
125
	log->setFile(_S(mydoc) + "/Egosoft/pluginmanager.log");
-
 
126
	log->setFilter(CLog::Log_Install | CLog::Log_Uninstall | CLog::Log_IO | CLog::Log_Directory | CLog::Log_File);
-
 
127
	log->setLevel(5);
-
 
128
#endif
122
 
129
 
123
	//TODO: Load languge xml
130
	//TODO: Load languge xml
124
	//Language.LoadLanguages();
131
	//Language.LoadLanguages();
125
 
132
 
126
	// get the last language used
133
	// get the last language used