OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
cl_uimaprunner.h
1/*
2===========================================================================
3Copyright (C) 2023 the OpenMoHAA team
4
5This file is part of OpenMoHAA source code.
6
7OpenMoHAA source code is free software; you can redistribute it
8and/or modify it under the terms of the GNU General Public License as
9published by the Free Software Foundation; either version 2 of the License,
10or (at your option) any later version.
11
12OpenMoHAA source code is distributed in the hope that it will be
13useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with OpenMoHAA source code; if not, write to the Free Software
19Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20===========================================================================
21*/
22
23#pragma once
24
25class MapRunnerClass : public FilePickerClass
26{
27public:
28 CLASS_PROTOTYPE(MapRunnerClass);
29
30 void FileChosen(const str& currentDirectory, const str& partialName, const str& fullname) override;
31};
32
33class ViewSpawnerClass : public FilePickerClass
34{
35public:
36 CLASS_PROTOTYPE(ViewSpawnerClass);
37
38 void FileChosen(const str& currentDirectory, const str& partialName, const str& fullname) override;
39};
40
41class LODSpawnerClass : public FilePickerClass
42{
43public:
44 CLASS_PROTOTYPE(LODSpawnerClass);
45
46 void FileChosen(const str& currentDirectory, const str& partialName, const str& fullname) override;
47};
48
49class UIPickFileClass : public FilePickerClass
50{
51public:
52 Listener *retobj;
53 Event *retevent;
54
55 CLASS_PROTOTYPE(UIPickFileClass);
56
57 UIPickFileClass();
58 ~UIPickFileClass();
59
60 void FileChosen(const str& currentDirectory, const str& partialName, const str& fullname) override;
61};
62
63void PickFile(const char *name, Listener *obj, Event& event);
Definition listener.h:246
Definition cl_uimaprunner.h:42
Definition listener.h:450
Definition cl_uimaprunner.h:26
Definition cl_uimaprunner.h:34
Definition str.h:77