a93410d39f758a8b33bd8cb112c493ba03c59b96
[profile/ivi/ico-uxf-homescreen.git] / src / statusbar / CicoComponentInterface.h
1 /*
2  * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
3  *
4  * This program is licensed under the terms and conditions of the
5  * Apache License, version 2.0.  The full text of the Apache License is at
6  * http://www.apache.org/licenses/LICENSE-2.0
7  *
8  */
9
10 //==========================================================================
11 /**
12  *  @file   CicoComponentInterface.h
13  *
14  *  @brief  This file is definition of CicoComponentInterface class
15  */
16 //==========================================================================
17 #ifndef __CICO_COMPONENT_INTERFACE_H__
18 #define __CICO_COMPONENT_INTERFACE_H__
19
20 //==========================================================================
21 /**
22  *  @brief  This class provide the component interfaces
23  */
24 //==========================================================================
25 class CicoComponentInterface
26 {
27 public:
28     virtual bool Terminate(void) = 0;
29     virtual void Show(void) = 0;
30     virtual void Hide(void) = 0;
31     virtual void SetPos(int x, int y) = 0;
32     virtual void SetSize(int w, int h) = 0;
33
34 protected:
35     CicoComponentInterface() {};
36     virtual ~CicoComponentInterface() {};
37 };
38 #endif  // __CICO_COMPONENT_INTERFACE_H__
39 // vim: set expandtab ts=4 sw=4: