Back to index

lightning-sunbird  0.9+nobinonly
icalproperty_cxx.cpp
Go to the documentation of this file.
00001 /* -*- Mode: C++ -*- */
00002 
00012 #ifndef ICALPROPERTY_CXX_H
00013 #include "icalproperty_cxx.h"
00014 #endif
00015 
00016 #ifndef ICALPARAMETER_CXX_H
00017 #include "icalparameter_cxx.h"
00018 #endif
00019 
00020 #ifndef ICALVALUE_CXX_H
00021 #include "icalvalue_cxx.h"
00022 #endif
00023 
00024 ICalProperty::ICalProperty() : imp(icalproperty_new(ICAL_ANY_PROPERTY)){
00025 }
00026 
00027 ICalProperty::ICalProperty(const ICalProperty& v) throw(icalerrorenum){
00028        imp = icalproperty_new_clone(v.imp);
00029        if (!imp) throw icalerrno;
00030 }
00031 
00032 ICalProperty& ICalProperty::operator=(const ICalProperty& v) throw(icalerrorenum) {
00033        if (this == &v) return *this;
00034 
00035        if (imp != NULL)
00036        {
00037               icalproperty_free(imp);
00038               imp = icalproperty_new_clone(v.imp);
00039               if (!imp) throw icalerrno;
00040        }
00041 
00042        return *this;
00043 }
00044 ICalProperty::~ICalProperty(){
00045        if (imp != NULL) icalproperty_free(imp);
00046 }
00047 
00048 ICalProperty::ICalProperty(icalproperty* v) : imp(v) {
00049 }
00050 
00051 ICalProperty::ICalProperty(string str){
00052        imp = icalproperty_new_from_string(str);
00053 }
00054 
00055 ICalProperty::ICalProperty(icalproperty_kind kind){
00056        imp = icalproperty_new(kind);
00057 }
00058 
00059 string ICalProperty::as_ical_string(){
00060        return (string)icalproperty_as_ical_string(imp);
00061 }
00062 icalproperty_kind ICalProperty::isa(){
00063        return icalproperty_isa(imp);
00064 }
00065 int ICalProperty::isa_property(void* property){
00066        return icalproperty_isa_property(property);
00067 }
00068 
00069 int ICalProperty::operator==(ICalProperty& rhs){
00070        icalparameter_xliccomparetype  result;
00071        ICalValue*  thisPropValue = this->get_value();
00072        ICalValue*  rhsPropValue  = rhs.get_value();
00073        result = icalvalue_compare((icalvalue*)*thisPropValue, (icalvalue*)*rhsPropValue);
00074        return (result ==  ICAL_XLICCOMPARETYPE_EQUAL);
00075 }
00076 
00077 void ICalProperty::add_parameter(ICalParameter& parameter){
00078        icalproperty_add_parameter(imp, parameter);
00079 }
00080 void ICalProperty::set_parameter(ICalParameter &parameter){
00081        icalproperty_set_parameter(imp, parameter);
00082 }
00083 void ICalProperty::set_parameter_from_string(string name, string val){
00084        icalproperty_set_parameter_from_string(imp, name, val);
00085 }
00086 string ICalProperty::get_parameter_as_string(string name){
00087        return (string)icalproperty_get_parameter_as_string(imp, name);
00088 }
00089 void ICalProperty::remove_parameter(icalparameter_kind kind){
00090        icalproperty_remove_parameter(imp, kind);
00091 }
00092 int ICalProperty::count_parameters(){
00093        return icalproperty_count_parameters(imp);
00094 }
00095 
00097 ICalParameter* ICalProperty::get_first_parameter(icalparameter_kind kind){
00098        icalparameter* p = icalproperty_get_first_parameter(imp, kind);
00099        return (p != NULL)? new ICalParameter(p): NULL;
00100 }
00101 ICalParameter* ICalProperty::get_next_parameter(icalparameter_kind kind){
00102        icalparameter* p = icalproperty_get_next_parameter(imp, kind);
00103        return (p != NULL)? new ICalParameter(p): NULL;
00104 }
00105 
00107 void ICalProperty::set_value(const ICalValue& val){
00108        icalproperty_set_value(imp, (ICalValue&)val);
00109 }
00110 void ICalProperty::set_value_from_string(string val, string kind){
00111        icalproperty_set_value_from_string(imp, val, kind);
00112 }
00113 
00114 ICalValue* ICalProperty::get_value(){
00115        return new ICalValue(icalproperty_get_value(imp));
00116 }
00117 string ICalProperty::get_value_as_string(){
00118        return (string)icalproperty_get_value_as_string(imp);
00119 }
00120 
00124 string ICalProperty::get_name(){
00125        return (string)icalproperty_get_property_name(imp);
00126 }
00127 
00128 /* Deal with X properties */
00129 void ICalProperty::set_x_name(ICalProperty &prop, string name){
00130        icalproperty_set_x_name(prop, name);
00131 }
00132 string ICalProperty::get_x_name(ICalProperty &prop){
00133        return (string)icalproperty_get_x_name(prop);
00134 }
00135 
00136 icalvalue_kind ICalProperty::icalparameter_value_to_value_kind(icalparameter_value val){
00137        return icalparameter_value_to_value_kind(val);
00138 }
00139 
00140 /* Convert kinds to string and get default value type */
00141 icalvalue_kind ICalProperty::kind_to_value_kind(icalproperty_kind kind){
00142        return icalproperty_kind_to_value_kind(kind);
00143 }
00144 icalproperty_kind ICalProperty::value_kind_to_kind(icalvalue_kind kind){
00145        return icalproperty_value_kind_to_kind(kind);
00146 }
00147 string ICalProperty::kind_to_string(icalproperty_kind kind){
00148        return (string)icalproperty_kind_to_string(kind);
00149 }
00150 icalproperty_kind ICalProperty::string_to_kind(string str){
00151        return icalproperty_string_to_kind(str);
00152 }
00153 
00154 string ICalProperty::method_to_string(icalproperty_method method){
00155        return (string)icalproperty_method_to_string(method);
00156 }
00157 icalproperty_method ICalProperty::string_to_method(string str){
00158        return icalproperty_string_to_method(str);
00159 }
00160 
00161 string ICalProperty::enum_to_string(int e){
00162        return (string)icalproperty_enum_to_string(e);
00163 }
00164 int ICalProperty::string_to_enum(string str){
00165        return icalproperty_string_to_enum(str);
00166 }
00167 
00168 string ICalProperty::status_to_string(icalproperty_status s){
00169        return (string)icalproperty_status_to_string(s);
00170 }
00171 icalproperty_status ICalProperty::string_to_status(string str){
00172        return icalproperty_string_to_status(str);
00173 }
00174 
00175 int ICalProperty::enum_belongs_to_property(icalproperty_kind kind, int e){
00176        return icalproperty_enum_belongs_to_property(kind, e);
00177 }
00178 
00179 /* ACTION */
00180 void ICalProperty::set_action(enum icalproperty_action val){
00181        icalproperty_set_action(imp, val);
00182 }
00183 enum icalproperty_action ICalProperty::get_action(){
00184        return icalproperty_get_action(imp);
00185 }
00186 
00187 /* ATTACH */
00188 void ICalProperty::set_attach(icalattach *val){
00189        icalproperty_set_attach(imp, val);
00190 }
00191 icalattach * ICalProperty::get_attach(){
00192        return icalproperty_get_attach(imp);
00193 }
00194 
00195 /* ATTENDEE */
00196 void ICalProperty::set_attendee(string val){
00197        icalproperty_set_attendee(imp, val);
00198 }
00199 string ICalProperty::get_attendee(){
00200        return (string)icalproperty_get_attendee(imp);
00201 }
00202 
00203 /* CALSCALE */
00204 void ICalProperty::set_calscale(string val){
00205        icalproperty_set_calscale(imp, val);
00206 }
00207 string ICalProperty::get_calscale(){
00208        return (string)icalproperty_get_calscale(imp);
00209 }
00210 
00211 /* CATEGORIES */
00212 void ICalProperty::set_categories(string val){
00213        icalproperty_set_categories(imp, val);
00214 }
00215 string ICalProperty::get_categories(){
00216        return (string)icalproperty_get_categories(imp);
00217 }
00218 
00219 /* CLASS */
00220 void ICalProperty::set_class(enum icalproperty_class val){
00221        icalproperty_set_class(imp, val);
00222 }
00223 enum icalproperty_class ICalProperty::get_class(){
00224        return (enum icalproperty_class)icalproperty_get_class(imp);
00225 }
00226 
00227 /* COMMENT */
00228 void ICalProperty::set_comment(string val){
00229        icalproperty_set_comment(imp, val);
00230 }
00231 string ICalProperty::get_comment(){
00232        return (string)icalproperty_get_comment(imp);
00233 }
00234 
00235 /* COMPLETED */
00236 void ICalProperty::set_completed(struct icaltimetype val){
00237        icalproperty_set_completed(imp, val);
00238 }
00239 struct icaltimetype ICalProperty::get_completed(){
00240        return icalproperty_get_completed(imp);
00241 }
00242 
00243 /* CONTACT */
00244 void ICalProperty::set_contact(string val){
00245        icalproperty_set_contact(imp, val);
00246 }
00247 string ICalProperty::get_contact(){
00248        return (string)icalproperty_get_contact(imp);
00249 }
00250 
00251 /* CREATED */
00252 void ICalProperty::set_created(struct icaltimetype val){
00253        icalproperty_set_created(imp, val);
00254 }
00255 struct icaltimetype ICalProperty::get_created(){
00256        return icalproperty_get_created(imp);
00257 }
00258 
00259 /* DESCRIPTION */
00260 void ICalProperty::set_description(string val){
00261        icalproperty_set_description(imp, val);
00262 }
00263 string ICalProperty::get_description(){
00264        return (string)icalproperty_get_description(imp);
00265 }
00266 
00267 /* DTEND */
00268 void ICalProperty::set_dtend(struct icaltimetype val){
00269        icalproperty_set_dtend(imp, val);
00270 }
00271 struct icaltimetype ICalProperty::get_dtend(){
00272        return icalproperty_get_dtend(imp);
00273 }
00274 
00275 /* DTSTAMP */
00276 void ICalProperty::set_dtstamp(struct icaltimetype val){
00277        icalproperty_set_dtstamp(imp, val);
00278 }
00279 struct icaltimetype ICalProperty::get_dtstamp(){
00280        return icalproperty_get_dtstamp(imp);
00281 }
00282 
00283 /* DTSTART */
00284 void ICalProperty::set_dtstart(struct icaltimetype val){
00285        icalproperty_set_dtstart(imp, val);
00286 }
00287 struct icaltimetype ICalProperty::get_dtstart(){
00288        return icalproperty_get_dtstart(imp);
00289 }
00290 
00291 /* DUE */
00292 void ICalProperty::set_due(struct icaltimetype val){
00293        icalproperty_set_due(imp, val);
00294 }
00295 struct icaltimetype ICalProperty::get_due(){
00296        return icalproperty_get_due(imp);
00297 }
00298 
00299 /* DURATION */
00300 void ICalProperty::set_duration(struct icaldurationtype val){
00301        icalproperty_set_duration(imp, val);
00302 }
00303 struct icaldurationtype ICalProperty::get_duration(){
00304        return icalproperty_get_duration(imp);
00305 }
00306 
00307 /* EXDATE */
00308 void ICalProperty::set_exdate(struct icaltimetype val){
00309        icalproperty_set_exdate(imp, val);
00310 }
00311 struct icaltimetype ICalProperty::get_exdate(){
00312        return icalproperty_get_exdate(imp);
00313 }
00314 
00315 /* EXPAND */
00316 void ICalProperty::set_expand(int val){
00317         icalproperty_set_expand(imp, val);
00318 }
00319 int ICalProperty::get_expand(){
00320         return icalproperty_get_expand(imp);
00321 }
00322 
00323 /* EXRULE */
00324 void ICalProperty::set_exrule(struct icalrecurrencetype val){
00325        icalproperty_set_exrule(imp, val);
00326 }
00327 struct icalrecurrencetype ICalProperty::get_exrule(){
00328        return icalproperty_get_exrule(imp);
00329 }
00330 
00331 /* FREEBUSY */
00332 void ICalProperty::set_freebusy(struct icalperiodtype val){
00333        icalproperty_set_freebusy(imp, val);
00334 }
00335 struct icalperiodtype ICalProperty::get_freebusy(){
00336        return icalproperty_get_freebusy(imp);
00337 }
00338 
00339 /* GEO */
00340 void ICalProperty::set_geo(struct icalgeotype val){
00341        icalproperty_set_geo(imp, val);
00342 }
00343 struct icalgeotype ICalProperty::get_geo(){
00344        return icalproperty_get_geo(imp);
00345 }
00346 
00347 /* LAST-MODIFIED */
00348 void ICalProperty::set_lastmodified(struct icaltimetype val){
00349        icalproperty_set_lastmodified(imp, val);
00350 }
00351 struct icaltimetype ICalProperty::get_lastmodified(){
00352        return icalproperty_get_lastmodified(imp);
00353 }
00354 
00355 /* LOCATION */
00356 void ICalProperty::set_location(string val){
00357        icalproperty_set_location(imp, val);
00358 }
00359 string ICalProperty::get_location(){
00360        return (string)icalproperty_get_location(imp);
00361 }
00362 
00363 /* MAXRESULTS */
00364 void ICalProperty::set_maxresults(int val){
00365        icalproperty_set_maxresults(imp, val);
00366 }
00367 int ICalProperty::get_maxresults(){
00368        return icalproperty_get_maxresults(imp);
00369 }
00370 
00371 /* MAXRESULTSSIZE */
00372 void ICalProperty::set_maxresultsize(int val){
00373        icalproperty_set_maxresultssize(imp, val);
00374 }
00375 int ICalProperty::get_maxresultsize(){
00376        return icalproperty_get_maxresultssize(imp);
00377 }
00378 
00379 /* METHOD */
00380 void ICalProperty::set_method(enum icalproperty_method val){
00381        icalproperty_set_method(imp, val);
00382 }
00383 enum icalproperty_method ICalProperty::get_method(){
00384        return icalproperty_get_method(imp);
00385 }
00386 
00387 /* ORGANIZER */
00388 void ICalProperty::set_organizer(string val){
00389        icalproperty_set_organizer(imp, val);
00390 }
00391 string ICalProperty::get_organizer(){
00392        return (string)icalproperty_get_organizer(imp);
00393 }
00394 
00395 /* OWNER */
00396 void ICalProperty::set_owner(string val){
00397        icalproperty_set_owner(imp, val);
00398 }
00399 string ICalProperty::get_owner(){
00400        return (string)icalproperty_get_owner(imp);
00401 }
00402 
00403 /* PERCENT-COMPLETE */
00404 void ICalProperty::set_percentcomplete(int val){
00405        icalproperty_set_percentcomplete(imp, val);
00406 }
00407 int ICalProperty::get_percentcomplete(){
00408        return icalproperty_get_percentcomplete(imp);
00409 }
00410 
00411 /* PRIORITY */
00412 void ICalProperty::set_priority(int val){
00413        icalproperty_set_priority(imp, val);
00414 }
00415 int ICalProperty::get_priority(){
00416        return icalproperty_get_priority(imp);
00417 }
00418 
00419 /* PRODID */
00420 void ICalProperty::set_prodid(string val){
00421        icalproperty_set_prodid(imp, val);
00422 }
00423 string ICalProperty::get_prodid(){
00424        return (string)icalproperty_get_prodid(imp);
00425 }
00426 
00427 /* QUERY */
00428 void ICalProperty::set_query(string val){
00429        icalproperty_set_query(imp, val);
00430 }
00431 string ICalProperty::get_query(){
00432        return (string)icalproperty_get_query(imp);
00433 }
00434 
00435 /* QUERYNAME */
00436 void ICalProperty::set_queryname(string val){
00437        icalproperty_set_queryname(imp, val);
00438 }
00439 string ICalProperty::get_queryname(){
00440        return (string)icalproperty_get_queryname(imp);
00441 }
00442 
00443 /* RDATE */
00444 void ICalProperty::set_rdate(struct icaldatetimeperiodtype val){
00445        icalproperty_set_rdate(imp, val);
00446 }
00447 struct icaldatetimeperiodtype ICalProperty::get_rdate(){
00448        return icalproperty_get_rdate(imp);
00449 }
00450 
00451 /* RECURRENCE-ID */
00452 void ICalProperty::set_recurrenceid(struct icaltimetype val){
00453        icalproperty_set_recurrenceid(imp, val);
00454 }
00455 struct icaltimetype ICalProperty::get_recurrenceid(){
00456        return icalproperty_get_recurrenceid(imp);
00457 }
00458 
00459 /* RELATED-TO */
00460 void ICalProperty::set_relatedto(string val){
00461        icalproperty_set_relatedto(imp, val);
00462 }
00463 string ICalProperty::get_relatedto(){
00464        return (string)icalproperty_get_relatedto(imp);
00465 }
00466 
00467 /* RELCALID */
00468 void ICalProperty::set_relcalid(string val){
00469         icalproperty_set_relcalid(imp, val);
00470 }
00471 string ICalProperty::get_relcalid(){
00472         return (string)icalproperty_get_relcalid(imp);
00473 }
00474 
00475 /* REPEAT */
00476 void ICalProperty::set_repeat(int val){
00477        icalproperty_set_repeat(imp, val);
00478 }
00479 int ICalProperty::get_repeat(){
00480        return icalproperty_get_repeat(imp);
00481 }
00482 
00483 /* REQUEST-STATUS */
00484 void ICalProperty::set_requeststatus(string val){
00485   icalreqstattype v;
00486   
00487   v = icalreqstattype_from_string((char*)val);
00488 
00489   icalproperty_set_requeststatus(imp, v);
00490 }
00491 
00492 string ICalProperty::get_requeststatus(){
00493   icalreqstattype v;
00494   v =   icalproperty_get_requeststatus(imp);
00495   return (string)(icalreqstattype_as_string(v));
00496 }
00497 
00498 /* RESOURCES */
00499 void ICalProperty::set_resources(string val){
00500        icalproperty_set_resources(imp, val);
00501 }
00502 string ICalProperty::get_resources(){
00503        return (string)icalproperty_get_resources(imp);
00504 }
00505 
00506 /* RRULE */
00507 void ICalProperty::set_rrule(struct icalrecurrencetype val){
00508        icalproperty_set_rrule(imp, val);
00509 }
00510 struct icalrecurrencetype ICalProperty::get_rrule(){
00511        return icalproperty_get_rrule(imp);
00512 }
00513 
00514 /* SCOPE */
00515 void ICalProperty::set_scope(string val){
00516        icalproperty_set_scope(imp, val);
00517 }
00518 string ICalProperty::get_scope(){
00519        return (string)icalproperty_get_scope(imp);
00520 }
00521 
00522 /* SEQUENCE */
00523 void ICalProperty::set_sequence(int val){
00524        icalproperty_set_sequence(imp, val);
00525 }
00526 int ICalProperty::get_sequence(){
00527        return icalproperty_get_sequence(imp);
00528 }
00529 
00530 /* STATUS */
00531 void ICalProperty::set_status(enum icalproperty_status val){
00532        icalproperty_set_status(imp, val);
00533 }
00534 enum icalproperty_status ICalProperty::get_status(){
00535        return icalproperty_get_status(imp);
00536 }
00537 
00538 /* SUMMARY */
00539 void ICalProperty::set_summary(string val){
00540        icalproperty_set_summary(imp, val);
00541 }
00542 string ICalProperty::get_summary(){
00543        return (string)icalproperty_get_summary(imp);
00544 }
00545 
00546 /* TARGET */
00547 void ICalProperty::set_target(string val){
00548        icalproperty_set_target(imp, val);
00549 }
00550 string ICalProperty::get_target(){
00551        return (string)icalproperty_get_target(imp);
00552 }
00553 
00554 /* TRANSP */
00555 void ICalProperty::set_transp(enum icalproperty_transp val){
00556        icalproperty_set_transp(imp, val);
00557 }
00558 enum icalproperty_transp ICalProperty::get_transp(){
00559        return icalproperty_get_transp(imp);
00560 }
00561 
00562 /* TRIGGER */
00563 void ICalProperty::set_trigger(struct icaltriggertype val){
00564        icalproperty_set_trigger(imp, val);
00565 }
00566 struct icaltriggertype ICalProperty::get_trigger(){
00567        return icalproperty_get_trigger(imp);
00568 }
00569 
00570 /* TZID */
00571 void ICalProperty::set_tzid(string val){
00572        icalproperty_set_tzid(imp, val);
00573 }
00574 string ICalProperty::get_tzid(){
00575        return (string)icalproperty_get_tzid(imp);
00576 }
00577 
00578 /* TZNAME */
00579 void ICalProperty::set_tzname(string val){
00580        icalproperty_set_tzname(imp, val);
00581 }
00582 string ICalProperty::get_tzname(){
00583        return (string)icalproperty_get_tzname(imp);
00584 }
00585 
00586 /* TZOFFSETFROM */
00587 void ICalProperty::set_tzoffsetfrom(int val){
00588        icalproperty_set_tzoffsetfrom(imp, val);
00589 }
00590 int ICalProperty::get_tzoffsetfrom(){
00591        return icalproperty_get_tzoffsetfrom(imp);
00592 }
00593 
00594 /* TZOFFSETTO */
00595 void ICalProperty::set_tzoffsetto(int val){
00596        icalproperty_set_tzoffsetto(imp, val);
00597 }
00598 int ICalProperty::get_tzoffsetto(){
00599        return icalproperty_get_tzoffsetto(imp);
00600 }
00601 
00602 /* TZURL */
00603 void ICalProperty::set_tzurl(string val){
00604        icalproperty_set_tzurl(imp, val);
00605 }
00606 string ICalProperty::get_tzurl(){
00607        return (string)icalproperty_get_tzurl(imp);
00608 }
00609 
00610 /* UID */
00611 void ICalProperty::set_uid(string val){
00612        icalproperty_set_uid(imp, val);
00613 }
00614 string ICalProperty::get_uid(){
00615        return (string)icalproperty_get_uid(imp);
00616 }
00617 
00618 /* URL */
00619 void ICalProperty::set_url(string val){
00620        icalproperty_set_url(imp, val);
00621 }
00622 string ICalProperty::get_url(){
00623        return (string)icalproperty_get_url(imp);
00624 }
00625 
00626 /* VERSION */
00627 void ICalProperty::set_version(string val){
00628        icalproperty_set_version(imp, val);
00629 }
00630 string ICalProperty::get_version(){
00631        return (string)icalproperty_get_version(imp);
00632 }
00633 
00634 /* X */
00635 void ICalProperty::set_x(string val){
00636        icalproperty_set_x(imp, val);
00637 }
00638 string ICalProperty::get_x(){
00639        return (string)icalproperty_get_x(imp);
00640 }
00641 
00642 /* X-LIC-CLUSTERCOUNT */
00643 void ICalProperty::set_xlicclustercount(string val){
00644        icalproperty_set_xlicclustercount(imp, val);
00645 }
00646 string ICalProperty::get_xlicclustercount(){
00647        return (string)icalproperty_get_xlicclustercount(imp);
00648 }
00649 
00650 /* X-LIC-ERROR */
00651 void ICalProperty::set_xlicerror(string val){
00652        icalproperty_set_xlicerror(imp, val);
00653 }
00654 string ICalProperty::get_xlicerror(){
00655        return (string)icalproperty_get_xlicerror(imp);
00656 }
00657 
00658 /* X-LIC-MIMECHARSET */
00659 void ICalProperty::set_xlicmimecharset(string val){
00660        icalproperty_set_xlicmimecharset(imp, val);
00661 }
00662 string ICalProperty::get_xlicmimecharset(){
00663        return (string)icalproperty_get_xlicmimecharset(imp);
00664 }
00665 
00666 /* X-LIC-MIMECID */
00667 void ICalProperty::set_xlicmimecid(string val){
00668        icalproperty_set_xlicmimecid(imp, val);
00669 }
00670 string ICalProperty::get_xlicmimecid(){
00671        return (string)icalproperty_get_xlicmimecid(imp);
00672 }
00673 
00674 /* X-LIC-MIMECONTENTTYPE */
00675 void ICalProperty::set_xlicmimecontenttype(string val){
00676        icalproperty_set_xlicmimecontenttype(imp, val);
00677 }
00678 string ICalProperty::get_xlicmimecontenttype(){
00679        return (string)icalproperty_get_xlicmimecontenttype(imp);
00680 }
00681 
00682 /* X-LIC-MIMEENCODING */
00683 void ICalProperty::set_xlicmimeencoding(string val){
00684        icalproperty_set_xlicmimeencoding(imp, val);
00685 }
00686 string ICalProperty::get_xlicmimeencoding(){
00687        return (string)icalproperty_get_xlicmimeencoding(imp);
00688 }
00689 
00690 /* X-LIC-MIMEFILENAME */
00691 void ICalProperty::set_xlicmimefilename(string val){
00692        icalproperty_set_xlicmimefilename(imp, val);
00693 }
00694 string ICalProperty::get_xlicmimefilename(){
00695        return (string)icalproperty_get_xlicmimefilename(imp);
00696 }
00697 
00698 /* X-LIC-MIMEOPTINFO */
00699 void ICalProperty::set_xlicmimeoptinfo(string val){
00700        icalproperty_set_xlicmimeoptinfo(imp, val);
00701 }
00702 string ICalProperty::get_xlicmimeoptinfo(){
00703        return (string)icalproperty_get_xlicmimeoptinfo(imp);
00704 }