⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 beosmain.cpp

📁 完整的解压zip文件的源码。包含密码功能
💻 CPP
字号:
// -*- C++ -*-//// WARNING: This is C++, not C!  GNU C is not supported here!//// beos_init.cpp//// BeOS-specific C++ routines for use with Info-ZIP's UnZip 5.30 or later.//// This is necessary because we need to have an app_server connection to be// able to ask the system to assign a MIME type to an un-typed file.  Strange// but true (the update_mime_info() call needs to send/receive messages).//// If you're writing your own Zip application, you probably DO NOT want to// include this file!#include <app/Application.h>#ifdef SFXconst static char *unzip_signature = "application/x-vnd.Info-ZIP.UnZipSFX";#elseconst static char *unzip_signature = "application/x-vnd.Info-ZIP.UnZip";#endifextern "C" int main_stub( int argc, char *argv[] );int main( int argc, char **argv ){    BApplication app( unzip_signature );    int retval = main_stub( argc, argv );    app.PostMessage( B_QUIT_REQUESTED );    app.Run();    return retval;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -