/******************************************************************************* | |
* Copyright (c) 2009 Nokia and others. | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v1.0 | |
* which accompanies this distribution, and is available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
* | |
* Contributors: | |
* Nokia - Initial API and implementation | |
*******************************************************************************/ | |
#pragma once | |
#include <set> | |
#include "TCFService.h" | |
// These aren't defined in any Windows system headers but can be found here: | |
// http://msdn.microsoft.com/en-us/library/cc704588%28v=prot.10%29.aspx | |
#define STATUS_DLL_NOT_FOUND ((unsigned long) 0xC0000135L) | |
#define STATUS_ENTRYPOINT_NOT_FOUND ((unsigned long) 0xC0000139L) | |
#define MS_CPLUS_EXCEPTION ((unsigned long) 0xE06D7363L) | |
struct Protocol; | |
struct Channel; | |
class SettingsService: public TCFService { | |
public: | |
SettingsService(Protocol * proto); | |
~SettingsService(void); | |
const char* GetName(); | |
static void command_get_settings(const char *, Channel *); | |
static void command_set_settings(const char *, Channel *); | |
static bool reportDebugEventForModule(std::string module); | |
static bool reportDebugStringEvents(); | |
static bool reportExceptionEvent(const EXCEPTION_DEBUG_INFO&); | |
static void debugSessionEnds(); | |
}; |