зеркало из https://github.com/mozilla/pjs.git
*** NOT PART OF BUILD ***
This commit is contained in:
Родитель
bf6fd7a184
Коммит
f90f883915
Двоичные данные
xpinstall/packager/mac/ASEncoder/build/ASEncoder.mcp
Двоичные данные
xpinstall/packager/mac/ASEncoder/build/ASEncoder.mcp
Двоичный файл не отображается.
Двоичные данные
xpinstall/packager/mac/ASEncoder/rsrc/ASEncoder.rsrc
Двоичные данные
xpinstall/packager/mac/ASEncoder/rsrc/ASEncoder.rsrc
Двоичный файл не отображается.
|
@ -247,12 +247,12 @@ nsASEApp::MakeMenus()
|
|||
mbarHdl = ::GetNewMBar(rMenuBar);
|
||||
::SetMenuBar(mbarHdl);
|
||||
|
||||
if (menuHdl = ::GetMenuHandle(rMenuApple))
|
||||
if ((menuHdl = ::GetMenuHandle(rMenuApple))!=nil)
|
||||
{
|
||||
::AppendResMenu(menuHdl, 'DRVR');
|
||||
}
|
||||
|
||||
if (menuHdl = GetMenuHandle(rMenuEdit))
|
||||
if ((menuHdl = GetMenuHandle(rMenuEdit))!=nil)
|
||||
::DisableItem(menuHdl, 0);
|
||||
|
||||
::HMGetHelpMenuHandle(&menuHdl);
|
||||
|
|
|
@ -54,6 +54,21 @@ private:
|
|||
AEEventHandlerUPP mQuitUPP;
|
||||
};
|
||||
|
||||
/*---------------------------------------------------------------*
|
||||
* Callbacks
|
||||
*---------------------------------------------------------------*/
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
pascal OSErr EncodeEvent(AppleEvent *appEvent, AppleEvent *reply, SInt32 handlerRefCon);
|
||||
pascal OSErr DecodeEvent(AppleEvent *appEvent, AppleEvent *reply, SInt32 handlerRefCon);
|
||||
pascal OSErr QuitEvent(AppleEvent *appEvent, AppleEvent *reply, SInt32 handlerRefCon);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
extern Boolean gDone;
|
||||
|
||||
|
||||
|
|
|
@ -63,6 +63,17 @@ private:
|
|||
OSErr WriteDataFork();
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
pascal void
|
||||
EncodeDirIterateFilter(const CInfoPBRec * const cpbPtr, Boolean *quitFlag, void *yourDataPtr);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define kTransientName "\pzz__ASEncoder_TMP__zz"
|
||||
#define kAppleSingleMagicNum 0x00051600
|
||||
#define kAppleSingleVerNum 0x00020000
|
||||
|
|
|
@ -172,22 +172,27 @@ nsEventHandler::HandleKeyDown()
|
|||
OSErr
|
||||
nsEventHandler::HandleUpdateEvt()
|
||||
{
|
||||
return noErr;
|
||||
}
|
||||
|
||||
OSErr
|
||||
nsEventHandler::HandleActivateEvt()
|
||||
{
|
||||
return noErr;
|
||||
}
|
||||
|
||||
OSErr
|
||||
nsEventHandler::HandleOSEvt()
|
||||
{
|
||||
::HiliteMenu(0);
|
||||
|
||||
return noErr;
|
||||
}
|
||||
|
||||
OSErr
|
||||
nsEventHandler::HandleInContent()
|
||||
{
|
||||
return noErr;
|
||||
}
|
||||
|
||||
OSErr
|
||||
|
|
|
@ -42,6 +42,19 @@ private:
|
|||
FSSpecPtr mFile;
|
||||
};
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
pascal void
|
||||
OurNavEventFunction(NavEventCallbackMessage callBackSelector, NavCBRecPtr callBackParms,
|
||||
NavCallBackUserData callBackUD);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define ERR_CHECK(_func) \
|
||||
err = _func; \
|
||||
if (err != noErr) \
|
||||
|
|
Загрузка…
Ссылка в новой задаче