mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
e77ee4df1a
--HG-- extra : rebase_source : c6afd8bd171364431280c8e69f406e36ebc5b523
40 lines
840 B
C++
40 lines
840 B
C++
/* -*- Mode: c++; tab-width: 2; indent-tabs-mode: nil; -*- */
|
|
/* 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/. */
|
|
|
|
#ifndef nsAppShell_h__
|
|
#define nsAppShell_h__
|
|
|
|
#include "nsBaseAppShell.h"
|
|
#define INCL_DEV
|
|
#define INCL_WIN
|
|
#define INCL_DOS
|
|
#include <os2.h>
|
|
|
|
/**
|
|
* Native OS/2 Application shell wrapper
|
|
*/
|
|
|
|
class nsAppShell : public nsBaseAppShell
|
|
{
|
|
public:
|
|
nsAppShell() : mEventWnd(nullptr) {}
|
|
|
|
nsresult Init();
|
|
|
|
protected:
|
|
virtual void ScheduleNativeEventCallback();
|
|
virtual bool ProcessNextNativeEvent(bool mayWait);
|
|
virtual ~nsAppShell();
|
|
|
|
protected:
|
|
HWND mEventWnd;
|
|
|
|
friend MRESULT EXPENTRY EventWindowProc(HWND, ULONG, MPARAM, MPARAM);
|
|
};
|
|
|
|
|
|
#endif // nsAppShell_h__
|
|
|