Safir SDK Core
Loading...
Searching...
No Matches
Backdoor.h
Go to the documentation of this file.
1/******************************************************************************
2*
3* Copyright Saab AB, 2007-2013 (http://safirsdkcore.com)
4*
5* Created by: Lars Hagström / stlrha
6*
7*******************************************************************************
8*
9* This file is part of Safir SDK Core.
10*
11* Safir SDK Core is free software: you can redistribute it and/or modify
12* it under the terms of version 3 of the GNU General Public License as
13* published by the Free Software Foundation.
14*
15* Safir SDK Core is distributed in the hope that it will be useful,
16* but WITHOUT ANY WARRANTY; without even the implied warranty of
17* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18* GNU General Public License for more details.
19*
20* You should have received a copy of the GNU General Public License
21* along with Safir SDK Core. If not, see <http://www.gnu.org/licenses/>.
22*
23******************************************************************************/
24#ifndef __SWRE_BACKDOOR_H__
25#define __SWRE_BACKDOOR_H__
26
27#include <string>
28#include <vector>
29
30namespace Safir
31{
32namespace Application
33{
42 {
43 public:
47 virtual ~Backdoor() {}
48
55 virtual void HandleCommand(const std::vector<std::wstring>& cmdTokens) = 0;
56
63 virtual std::wstring GetHelpText() = 0;
64 };
65
66}
67}
68
69#endif
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
Interface for handling PI commands.
Definition Backdoor.h:42
virtual void HandleCommand(const std::vector< std::wstring > &cmdTokens)=0
Called when a 'Program Info' command aimed for this handler is received.
virtual ~Backdoor()
Destructor.
Definition Backdoor.h:47
virtual std::wstring GetHelpText()=0
Called when a 'help' command aimed for this handler is received.