ukui-search/libsearch/gobject-template.cpp

11 lines
325 B
C++

#include "gobject-template.h"
#include "glib-object.h"
std::shared_ptr<gobjecttemplate<GFile>> wrapGFile(GFile *file) {
return std::make_shared<gobjecttemplate<GFile>>(file);
}
std::shared_ptr<gobjecttemplate<GFileInfo>> wrapGFileInfo(GFileInfo *info) {
return std::make_shared<gobjecttemplate<GFileInfo>>(info);
}