mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Issue #1751 -- Remove cocoa and uikit widget support code
This commit is contained in:
parent
a6ae35ba91
commit
3a4e65f1de
165 changed files with 4 additions and 42109 deletions
|
|
@ -1,57 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/*
|
||||
* Runs the main native UIKit run loop, interrupting it as needed to process
|
||||
* Gecko events.
|
||||
*/
|
||||
|
||||
#ifndef nsAppShell_h_
|
||||
#define nsAppShell_h_
|
||||
|
||||
#include "nsBaseAppShell.h"
|
||||
#include "nsTArray.h"
|
||||
|
||||
#include <Foundation/NSAutoreleasePool.h>
|
||||
#include <CoreFoundation/CFRunLoop.h>
|
||||
#include <UIKit/UIWindow.h>
|
||||
|
||||
@class AppShellDelegate;
|
||||
|
||||
class nsAppShell : public nsBaseAppShell
|
||||
{
|
||||
public:
|
||||
NS_IMETHOD ResumeNative(void);
|
||||
|
||||
nsAppShell();
|
||||
|
||||
nsresult Init();
|
||||
|
||||
NS_IMETHOD Run(void);
|
||||
NS_IMETHOD Exit(void);
|
||||
// Called by the application delegate
|
||||
void WillTerminate(void);
|
||||
|
||||
static nsAppShell* gAppShell;
|
||||
static UIWindow* gWindow;
|
||||
static NSMutableArray* gTopLevelViews;
|
||||
|
||||
protected:
|
||||
virtual ~nsAppShell();
|
||||
|
||||
static void ProcessGeckoEvents(void* aInfo);
|
||||
virtual void ScheduleNativeEventCallback();
|
||||
virtual bool ProcessNextNativeEvent(bool aMayWait);
|
||||
|
||||
NSAutoreleasePool* mAutoreleasePool;
|
||||
AppShellDelegate* mDelegate;
|
||||
CFRunLoopRef mCFRunLoop;
|
||||
CFRunLoopSourceRef mCFRunLoopSource;
|
||||
|
||||
bool mTerminated;
|
||||
bool mNotifiedWillTerminate;
|
||||
};
|
||||
|
||||
#endif // nsAppShell_h_
|
||||
Loading…
Add table
Add a link
Reference in a new issue