00001 /* 00002 * This file is part of calendar-backend 00003 * 00004 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies). 00005 * 00006 * Contact: Ilias Biris <ilias.biris@nokia.com> 00007 * 00008 * This library is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public License 00010 * version 2.1 as published by the Free Software Foundation. 00011 * 00012 * This library is distributed in the hope that it will be useful, but 00013 * WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this library; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00020 * 02110-1301 USA 00021 * 00022 */ 00023 00024 #ifndef __CSMARTCALENDAR_H__ 00025 #define __CSMARTCALENDAR_H__ 00026 00027 /* Headers */ 00028 #include <string> 00029 #include <vector> 00030 #include "CComponent.h" 00031 00032 using namespace std; 00033 using std::string; 00034 using std::vector; 00035 00042 class CBdayEvent:public CComponent { 00043 00044 public: 00045 00046 /* Constructor */ 00047 CBdayEvent(); 00048 00049 /* Parameterized constructor */ 00050 CBdayEvent(string szUId, string szname, int idate); 00051 00052 /* Destructor */ 00053 ~CBdayEvent(); 00054 00063 bool setEBookUid(string szEbookUid); 00064 00073 string getEBookUid(); 00074 00083 bool setFirstName(string szName); 00084 00093 string getFirstName(); 00094 00103 bool setBirthDate(int idate); 00104 00113 int getBirthDate(); 00114 00118 string toString(); 00119 00120 00121 }; 00122 00123 #endif