Page MenuHomePhorge

kolabformat.i
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

kolabformat.i

/* kolabformat.i */
%module kolabformat
%{
/* This macro ensures that return vectors remain a vector also in python and are not converted to tuples */
#define SWIG_PYTHON_EXTRA_NATIVE_CONTAINERS
#include "global_definitions.h"
#include "kolabformat.h"
#include "kolabcontainers.h"
#include "kolabevent.h"
#include "kolabtodo.h"
#include "kolabjournal.h"
#include "kolabcontact.h"
%}
%include "std_string.i"
%include "std_vector.i"
namespace std {
%template(vectori) vector<int>;
%template(vectors) vector<string>;
%template(vectordaypos) vector<Kolab::DayPos>;
%template(vectorcs) vector<Kolab::CustomProperty>;
%template(vectoraddress) vector<Kolab::Address>;
%template(vectoraffiliation) vector<Kolab::Affiliation>;
%template(vectoralarm) vector<Kolab::Alarm>;
%template(vectorattachment) vector<Kolab::Attachment>;
%template(vectorattendee) vector<Kolab::Attendee>;
%template(vectorcontactref) vector<Kolab::ContactReference>;
%template(vectorgeo) vector<Kolab::Geo>;
%template(vectorrelated) vector<Kolab::Related>;
%template(vectortelephone) vector<Kolab::Telephone>;
%template(vectordatetime) vector<Kolab::cDateTime>;
};
%include "global_definitions.h"
%include "kolabcontainers.h"
%include "kolabevent.h"
%include "kolabtodo.h"
%include "kolabjournal.h"
%include "kolabcontact.h"
%include "kolabformat.h"

File Metadata

Mime Type
text/x-c++
Expires
Sun, Apr 5, 11:58 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18795867
Default Alt Text
kolabformat.i (1 KB)

Event Timeline