Browse Source

Remove appstartup2

master
Dorian 6 years ago
parent
commit
ed87f5a14c
  1. 6
      k-meleon/app/KmAppInfo.cpp
  2. 6
      k-meleon/app/KmAppInfo.h

6
k-meleon/app/KmAppInfo.cpp

@ -26,7 +26,7 @@
#include "nsIAppShellService.h"
#include "nsXULAppAPI.h"
NS_IMPL_ISUPPORTS(KmAppInfo, nsIXULAppInfo, nsIXULRuntime, nsIAppStartup, nsIAppStartup2)
NS_IMPL_ISUPPORTS(KmAppInfo, nsIXULAppInfo, nsIXULRuntime, nsIAppStartup, nsIAppStartup)
/* readonly attribute ACString vendor; */
NS_IMETHODIMP KmAppInfo::GetVendor(nsACString & aVendor)
@ -396,7 +396,7 @@ NS_IMETHODIMP KmAppInfo::SetInterrupted(bool aInterrupted)
mInterrupted = aInterrupted;
return NS_OK;
}
/*
NS_IMETHODIMP KmAppInfo::ProcessNativeEvent(void* aMsg)
{
_AFX_THREAD_STATE *pState = AfxGetThreadState();
@ -409,7 +409,7 @@ NS_IMETHODIMP KmAppInfo::ProcessNativeEvent(void* aMsg)
}
return NS_OK;
}
*/
#include "nsIAccessibilityService.h"
NS_IMETHODIMP KmAppInfo::GetAccessibilityIsUIA(bool *aAccessibilityIsUIA)
{

6
k-meleon/app/KmAppInfo.h

@ -20,12 +20,12 @@
#include "nsIXULAppInfo.h"
#include "nsIXULRuntime.h"
#include "nsIAppStartup2.h"
#include "nsIAppStartup.h"
#define NS_KMAPPINFO_CID \
{0x76849bf1, 0x199d, 0x41a6, {0xaa, 0xe6, 0x87, 0x3f, 0xca, 0xf1, 0x23, 0xea}}
class KmAppInfo: public nsIXULAppInfo, public nsIXULRuntime, public nsIAppStartup2
class KmAppInfo: public nsIXULAppInfo, public nsIXULRuntime, public nsIAppStartup
{
bool mInterrupted;
public:
@ -34,7 +34,7 @@ public:
NS_DECL_NSIXULAPPINFO
NS_DECL_NSIXULRUNTIME
NS_DECL_NSIAPPSTARTUP
NS_DECL_NSIAPPSTARTUP2
//NS_DECL_NSIAPPSTARTUP2
};

Loading…
Cancel
Save