4 * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 class AssetPopupBuildIndex;
28 class AssetPopupViewWindow;
30 #include "assetedit.inc"
31 #include "awindowgui.inc"
32 #include "awindowmenu.inc"
36 #include "mwindow.inc"
40 class AssetPopup : public BC_PopupMenu
43 AssetPopup(MWindow *mwindow, AWindowGUI *gui);
46 void create_objects();
47 // Set mainsession with the current selections
59 AssetPopupBuildIndex *index;
61 AssetPopupViewWindow *view_window;
62 // AssetListFormat *format;
65 class AssetPopupInfo : public BC_MenuItem
68 AssetPopupInfo(MWindow *mwindow, AssetPopup *popup);
72 int button_press_event();
78 class AssetPopupSort : public BC_MenuItem
81 AssetPopupSort(MWindow *mwindow, AssetPopup *popup);
90 class AssetPopupBuildIndex : public BC_MenuItem
93 AssetPopupBuildIndex(MWindow *mwindow, AssetPopup *popup);
94 ~AssetPopupBuildIndex();
103 class AssetPopupView : public BC_MenuItem
106 AssetPopupView(MWindow *mwindow, AssetPopup *popup);
116 class AssetPopupViewWindow : public BC_MenuItem
119 AssetPopupViewWindow(MWindow *mwindow, AssetPopup *popup);
120 ~AssetPopupViewWindow();
128 class AssetPopupPaste : public BC_MenuItem
131 AssetPopupPaste(MWindow *mwindow, AssetPopup *popup);
140 class AssetMatchSize : public BC_MenuItem
143 AssetMatchSize(MWindow *mwindow, AssetPopup *popup);
151 class AssetMatchRate : public BC_MenuItem
154 AssetMatchRate(MWindow *mwindow, AssetPopup *popup);
162 class AssetMatchAll : public BC_MenuItem
165 AssetMatchAll(MWindow *mwindow, AssetPopup *popup);
173 class AssetPopupProjectRemove : public BC_MenuItem
176 AssetPopupProjectRemove(MWindow *mwindow, AssetPopup *popup);
177 ~AssetPopupProjectRemove();
185 class AssetPopupDiskRemove : public BC_MenuItem
188 AssetPopupDiskRemove(MWindow *mwindow, AssetPopup *popup);
189 ~AssetPopupDiskRemove();