/* The minimum requirements needed by every ClanLib application. Note that the try/catch is not required but should be added to every ClanLib application. */ #include #include class MinimumApp : public CL_ClanApplication { public: virtual int main(int, char **) { // Create a console window for text-output if not available CL_ConsoleWindow console("Console"); console.redirect_stdio(); try { CL_SetupCore setup_core; CL_Zip_Archive zip("test.zip"); std::vector &file_list = zip.get_file_list(); int size = file_list.size(); for (int i=0; i