You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.0 KiB

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 */
#ifndef nsgnomeshellservice_h____
#define nsgnomeshellservice_h____
#include "nsShellService.h"
#include "nsStringGlue.h"
#include "mozilla/Attributes.h"
{0xc16cfa25, 0xa74a, 0x420b, {0xa5, 0x45, 0x4b, 0xc0, 0x6b, 0x08, 0xa8, 0x65}}
struct ProtocolAssociation;
class nsGNOMEShellService final : public nsIShellService
nsGNOMEShellService() : mCheckedThisSessionClient(false) { }
nsresult Init();
~nsGNOMEShellService() {}
bool HandlerMatchesAppName(const char* aHandler);
nsCString mAppPath;
bool mAppIsInPath;
bool mUseLocaleFilenames;
bool mCheckedThisSessionClient;
#endif // nsgnomeshellservice_h____