apptbase.h
来自「wxGTK 是 wxWidgets 的 linux GTK+ (>2.2.」· C头文件 代码 · 共 55 行
H
55 行
///////////////////////////////////////////////////////////////////////////////// Name: wx/unix/apptbase.h// Purpose: declaration of wxAppTraits for Unix systems// Author: Vadim Zeitlin// Modified by:// Created: 23.06.2003// RCS-ID: $Id: apptbase.h,v 1.5 2004/09/26 16:28:51 VZ Exp $// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>// Licence: wxWindows licence///////////////////////////////////////////////////////////////////////////////#ifndef _WX_UNIX_APPTBASE_H_#define _WX_UNIX_APPTBASE_H_struct wxExecuteData;class wxPipe;// ----------------------------------------------------------------------------// wxAppTraits: the Unix version adds extra hooks needed by Unix code// ----------------------------------------------------------------------------class WXDLLEXPORT wxAppTraits : public wxAppTraitsBase{public: // wxExecute() support methods // --------------------------- // called before starting the child process and creates the pipe used for // detecting the process termination asynchronously in GUI, does nothing in // wxBase // // if it returns false, we should return from wxExecute() with an error virtual bool CreateEndProcessPipe(wxExecuteData& execData) = 0; // test if the given descriptor is the end of the pipe create by the // function above virtual bool IsWriteFDOfEndProcessPipe(wxExecuteData& execData, int fd) = 0; // ensure that the write end of the pipe is not closed by wxPipe dtor virtual void DetachWriteFDOfEndProcessPipe(wxExecuteData& execData) = 0; // wait for the process termination, return whatever wxExecute() must // return virtual int WaitForChild(wxExecuteData& execData) = 0; // wxThread helpers // ---------------- // TODO};#endif // _WX_UNIX_APPTBASE_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?