gecko/widget/os2/nsAppShell.h
Birunthan Mohanathas 6de9b9ead5 Bug 784739 - Switch from NULL to nullptr in widget/os2/; r=ehsan
--HG--
extra : rebase_source : c6afd8bd171364431280c8e69f406e36ebc5b523
2013-10-08 14:47:49 -04:00

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__