ukui-search/gobject-template.cpp

10 lines
300 B
C++
Raw Normal View History

#include "gobject-template.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);
}