Navit SVN

/work/compile/navit/src/navit/gui/qml/vehicleProxy.h

00001 #ifndef NAVIT_GUI_QML_VEHICLEPROXY_H
00002 #define NAVIT_GUI_QML_VEHICLEPROXY_H
00003 
00004 class NGQProxyVehicle : public NGQProxy {
00005     Q_OBJECT;
00006 
00007 public:
00008         NGQProxyVehicle(struct gui_priv* object, QObject* parent) : NGQProxy(object,parent) { };
00009 
00010 public slots:
00011 
00012 protected:
00013         int getAttrFunc(enum attr_type type, struct attr* attr, struct attr_iter* iter) { return vehicle_get_attr(this->object->currVehicle, type, attr, iter); }
00014         int setAttrFunc(struct attr* attr) {return vehicle_set_attr(this->object->currVehicle,attr); }
00015         struct attr_iter* getIterFunc() { return vehicle_attr_iter_new(); };
00016         void dropIterFunc(struct attr_iter* iter) { vehicle_attr_iter_destroy(iter); };
00017 
00018 private:
00019 
00020 };
00021 
00022 #include "vehicleProxy.moc"
00023 
00024 #endif /* NAVIT_GUI_QML_VEHICLEPROXY_H */