⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 event.h

📁 funambol windows mobile plugin source code, the source code is taken from the funambol site
💻 H
字号:
/*
 * Copyright (C) 2003-2007 Funambol, Inc
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY, TITLE, NONINFRINGEMENT or FITNESS FOR A PARTICULAR
 * PURPOSE.  See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 * 02111-1307  USA
 */


#ifndef INCL_ICALENDAR_EVENT
#define INCL_ICALENDAR_EVENT
/** @cond DEV */

#include "base/util/ArrayElement.h"
#include "vocl/VObject.h"
#include "vocl/iCalendar/iCalProperty.h"

class Event: public VObject, public ArrayElement {

private:
    iCalProperty* classEvent;
    iCalProperty* created;
    iCalProperty* description;
    iCalProperty* dtStart;
    iCalProperty* geo;
    iCalProperty* lastMod;
    iCalProperty* location;
    iCalProperty* organizer;
    iCalProperty* priority;
    iCalProperty* dtStamp;
    iCalProperty* seq;
    iCalProperty* status;
    iCalProperty* summary;
    iCalProperty* transp;
    iCalProperty* uid;
    iCalProperty* url;
    iCalProperty* recurID;
    iCalProperty* dtEnd;
    iCalProperty* duration;
    ArrayList* attach;
    ArrayList* attendee;
    ArrayList* categories;
    ArrayList* comment;
    ArrayList* contact;
    ArrayList* exDate;
    ArrayList* exRule;
    ArrayList* rStatus;
    ArrayList* related;
    ArrayList* resources;
    ArrayList* rDate;
    ArrayList* rRule;
    ArrayList* xProp;
    void set(iCalProperty** oldProperty, iCalProperty& newProperty);
    iCalProperty* getiCalPropertyFromVProperty(VProperty* vp);
    VProperty* getVPropertyFromiCalProperty(WCHAR* name, iCalProperty* prop);

public:

    Event();
    ~Event();
    WCHAR* toString();
    void setClass(iCalProperty& a);
    void setCreated(iCalProperty& a);
    void setDescription(iCalProperty& a);
    void setDtStart(iCalProperty& a);
    void setGeo(iCalProperty& a);
    void setLastMod(iCalProperty& a);
    void setLocation(iCalProperty& a);
    void setOrganizer(iCalProperty& a);
    void setPriority(iCalProperty& a);
    void setDtStamp(iCalProperty& a);
    void setSequence(iCalProperty& a);
    void setStatus(iCalProperty& a);
    void setSummary(iCalProperty& a);
    void setTransport(iCalProperty& a);
    void setUid(iCalProperty& a);
    void setUrl(iCalProperty& a);
    void setRecurID(iCalProperty& a);
    void setDtEnd(iCalProperty& a);
    void setDuration(iCalProperty& a);
    void setAttach(ArrayList& list);
    void setAttendee(ArrayList& list);
    void setCategories(ArrayList& list);
    void setComment(ArrayList& list);
    void setContact(ArrayList& list);
    void setExDate(ArrayList& list);
    void setExRule(ArrayList& list);
    void setRStatus(ArrayList& list);
    void setRelated(ArrayList& list);
    void setResources(ArrayList& list);
    void setRDate(ArrayList& list);
    void setRRule(ArrayList& list);
    void setXProp(ArrayList& list);

    iCalProperty* getClass();
    iCalProperty* getCreated();
    iCalProperty* getDescription();
    iCalProperty* getDtStart();
    iCalProperty* getGeo();
    iCalProperty* getLastMod();
    iCalProperty* getLocation();
    iCalProperty* getOrganizer();
    iCalProperty* getPriority();
    iCalProperty* getDtStamp();
    iCalProperty* getSequence();
    iCalProperty* getStatus();
    iCalProperty* getSummary();
    iCalProperty* getTransport();
    iCalProperty* getUid();
    iCalProperty* getUrl();
    iCalProperty* getRecurID();
    iCalProperty* getDtEnd();
    iCalProperty* getDuration();
    ArrayList* getAttach();
    ArrayList* getAttendee();
    ArrayList* getCategories();
    ArrayList* getComment();
    ArrayList* getContact();
    ArrayList* getExDate();
    ArrayList* getExRule();
    ArrayList* getRStatus();
    ArrayList* getRelated();
    ArrayList* getResources();
    ArrayList* getRDate();
    ArrayList* getRRule();
    ArrayList* getXProp();

	ArrayElement* clone();

};

/** @endcond */
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -