MCPcopy Create free account
hub / github.com/bumptop/BumpTop / createDesktopLibrary

Method createDesktopLibrary

trunk/win/Source/BT_LibraryManager.cpp:239–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239QSharedPointer<Library> LibraryManager::createDesktopLibrary()
240{
241 QList<QString> folders;
242 folders.append(winOS->GetSystemPath(DesktopDirectory)); // Default Save directory
243 folders.append(winOS->GetSystemPath(AllUsersDesktopDir));
244
245 // Create the Desktop Library
246 QSharedPointer<LibraryImpl> library(new LibraryImpl(_desktopLibraryName));
247 library->setFolderPaths(folders);
248 library->setTextureKey(QString_NT("library_default.desktop.icon"));
249 library->setValid(true);
250 library->setHashKey(QString_NT("def_%1").arg(_desktopLibraryName));
251 return library;
252}
253
254QSharedPointer<Library> LibraryManager::createLibrary(IShellItem* item)
255{

Callers

nothing calls this directly

Calls 7

GetSystemPathMethod · 0.80
setFolderPathsMethod · 0.80
setTextureKeyMethod · 0.80
setValidMethod · 0.80
setHashKeyMethod · 0.80
appendMethod · 0.45
argMethod · 0.45

Tested by

no test coverage detected