Additional functions of policy and resource management.
[profile/ivi/ico-uxf-homescreen.git] / lib / system-controller / CicoSCLastInfo.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   CicoSCLastInfo.h
13  *
14  *  @brief  This file is definition of CicoSCLastInfo class
15  */
16 //==========================================================================
17 #ifndef __CICO_SC_LAST_INFO_H__
18 #define __CICO_SC_LAST_INFO_H__
19
20 #include <string>
21
22 #include "CicoLog.h"
23    
24 //==========================================================================
25 /**
26  *  @brief  This class hold application's last information
27  */
28 //==========================================================================
29 class CicoSCLastInfo
30 {
31 public:
32     // default constructor
33     CicoSCLastInfo()
34         : appid(""), lastinfo("") {}
35
36     // destructor
37     ~CicoSCLastInfo() {}
38
39     // dump log this class member variables
40     void dumpLastInfo(void)
41     {
42         ICO_DBG("CicoSCLastInfo: appid=%s lastinfo=%s",
43                 appid.c_str(), lastinfo.c_str());
44     }
45
46 public:
47     std::string appid;       ///< application id
48     std::string lastinfo;    ///< application's last information
49 };
50 #endif  // __CICO_SC_LAST_INFO_H__
51 // vim:set expandtab ts=4 sw=4: