added a new plugin: "gallery"

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@716 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-01-31 15:51:53 +00:00
parent 18492e5d61
commit 5049961e17
13 changed files with 639 additions and 0 deletions

46
plugins/gallery/gallery.h Executable file
View File

@@ -0,0 +1,46 @@
/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2011, Tomasz Sowa
* All rights reserved.
*
*/
#ifndef headerfile_winix_plugins_gallery_gallery
#define headerfile_winix_plugins_gallery_gallery
#include "functions/functionbase.h"
#include "galleryinfo.h"
namespace Gallery
{
class Gallery : public FunctionBase
{
public:
Gallery();
bool HasAccess();
void MakeGet();
void SetGalleryInfo(GalleryInfo * pinfo);
private:
GalleryInfo * gallery_info;
DbItemQuery iq;
void CreatePointers();
void SortPointers();
void MakeGetDir();
void MakeGetFile();
};
} // namespace
#endif