1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
12 * Szabo, Janos Zoltan – initial implementation
13 * Vilmos Varga - author
14 ******************************************************************************/
16 // Description: Header file for UserInterface
18 #ifndef MCTR_USERINTERFACE_H
19 #define MCTR_USERINTERFACE_H
20 //----------------------------------------------------------------------------
24 //----------------------------------------------------------------------------
28 //----------------------------------------------------------------------------
31 * The user interface singleton interface class.
37 * Constructs the UserInterface.
44 virtual ~UserInterface();
47 * Initialize the user interface.
49 virtual void initialize();
52 * Enters the main loop.
54 virtual int enterLoop(int argc
, char* argv
[]) = 0;
57 * Status of MC has changed.
59 virtual void status_change() = 0;
62 * Error message from MC.
64 virtual void error(int severity
, const char* message
) = 0;
67 * General notification from MC.
69 virtual void notify(const struct timeval
* timestamp
, const char* source
,
70 int severity
, const char* message
) = 0;
74 //----------------------------------------------------------------------------
76 } /* namespace mctr */
78 //----------------------------------------------------------------------------
79 #endif // MCTR_USERINTERFACE_H
83 // indent-tabs-mode: nil
This page took 0.032528 seconds and 5 git commands to generate.