Wt examples
3.3.0
|
00001 // This may look like C code, but it's really -*- C++ -*- 00002 /* 00003 * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium. 00004 * 00005 * See the LICENSE file for terms of use. 00006 */ 00007 #ifndef FOLDER_VIEW_H_ 00008 #define FOLDER_VIEW_H_ 00009 00010 #include <Wt/WTreeView> 00011 00016 00019 class FolderView : public Wt::WTreeView 00020 { 00021 public: 00026 static const char *FileSelectionMimeType; 00027 00030 FolderView(Wt::WContainerWidget *parent = 0); 00031 00032 protected: 00035 virtual void dropEvent(const Wt::WDropEvent &event, 00036 const Wt::WModelIndex &target); 00037 }; 00038 00041 #endif // FOLDER_VIEW_H_