11 #include "AddonClass.h" 12 #include "AddonString.h" 13 #include "Alternative.h" 15 #include "dialogs/GUIDialogBoxBase.h" 16 #include "dialogs/GUIDialogExtendedProgressBar.h" 17 #include "dialogs/GUIDialogProgress.h" 18 #include "swighelper.h" 27 constexpr
int INPUT_ALPHANUM{0};
28 constexpr
int INPUT_NUMERIC{1};
29 constexpr
int INPUT_DATE{2};
30 constexpr
int INPUT_TIME{3};
31 constexpr
int INPUT_IPADDRESS{4};
32 constexpr
int INPUT_PASSWORD{5};
34 constexpr
int PASSWORD_VERIFY{1};
35 constexpr
int ALPHANUM_HIDE_INPUT{2};
54 #ifdef DOXYGEN_SHOULD_USE_THIS 96 bool yesno(
const String& heading,
97 const String& message,
98 const String& nolabel = emptyString,
99 const String& yeslabel = emptyString,
101 int defaultbutton = CONTROL_NO_BUTTON);
104 #ifdef DOXYGEN_SHOULD_USE_THIS 145 int yesnocustom(
const String& heading,
146 const String& message,
147 const String& customlabel,
148 const String& nolabel = emptyString,
149 const String& yeslabel = emptyString,
151 int defaultbutton = CONTROL_NO_BUTTON);
154 #ifdef DOXYGEN_SHOULD_USE_THIS 182 #ifdef DOXYGEN_SHOULD_USE_THIS 216 #ifdef DOXYGEN_SHOULD_USE_THIS 240 int contextmenu(
const std::vector<String>& list);
243 #ifdef DOXYGEN_SHOULD_USE_THIS 276 std::unique_ptr<std::vector<int> > multiselect(
const String& heading,
const std::vector<
Alternative<String, const ListItem* > > & options,
int autoclose=0,
const std::vector<int>& preselect = std::vector<int>(),
bool useDetails=
false);
279 #ifdef DOXYGEN_SHOULD_USE_THIS 308 bool ok(
const String& heading,
const String& message);
311 #ifdef DOXYGEN_SHOULD_USE_THIS 339 void textviewer(
const String& heading,
const String& text,
bool usemono =
false);
342 #ifdef DOXYGEN_SHOULD_USE_THIS 401 const String& mask = emptyString,
bool useThumbs =
false,
402 bool treatAsFolder =
false,
const String& defaultt = emptyString,
403 bool enableMultiple =
false);
406 #ifdef DOXYGEN_SHOULD_USE_THIS 460 String browseSingle(
int type,
const String& heading,
const String& shares,
461 const String& mask = emptyString,
bool useThumbs =
false,
462 bool treatAsFolder =
false,
463 const String& defaultt = emptyString );
466 #ifdef DOXYGEN_SHOULD_USE_THIS 516 std::vector<String> browseMultiple(
int type,
const String& heading,
const String& shares,
517 const String& mask = emptyString,
bool useThumbs =
false,
518 bool treatAsFolder =
false,
519 const String& defaultt = emptyString );
522 #ifdef DOXYGEN_SHOULD_USE_THIS 560 String numeric(
int type,
const String& heading,
const String& defaultt = emptyString,
bool bHiddenInput =
false);
563 #ifdef DOXYGEN_SHOULD_USE_THIS 594 void notification(
const String& heading,
const String& message,
const String& icon = emptyString,
int time = 0,
bool sound =
true);
597 #ifdef DOXYGEN_SHOULD_USE_THIS 638 String input(
const String& heading,
639 const String& defaultt = emptyString,
640 int type = INPUT_ALPHANUM,
645 #ifdef DOXYGEN_SHOULD_USE_THIS 693 const String& heading,
694 const String& selectedcolor = emptyString,
695 const String& colorfile = emptyString,
696 const std::vector<const ListItem*>& colorlist = std::vector<const ListItem*>());
700 #ifndef DOXYGEN_SHOULD_SKIP_THIS 702 int yesNoCustomInternal(
const String& heading,
703 const String& message,
704 const String& nolabel,
705 const String& yeslabel,
706 const String& customlabel,
733 #ifdef DOXYGEN_SHOULD_USE_THIS 760 void create(
const String& heading,
const String& message = emptyString);
763 #ifdef DOXYGEN_SHOULD_USE_THIS 788 void update(
int percent,
const String& message = emptyString);
791 #ifdef DOXYGEN_SHOULD_USE_THIS 812 #ifdef DOXYGEN_SHOULD_USE_THIS 859 #ifdef DOXYGEN_SHOULD_USE_THIS 884 void create(
const String& heading,
const String& message = emptyString);
887 #ifdef DOXYGEN_SHOULD_USE_THIS 911 void update(
int percent = 0,
const String& heading = emptyString,
const String& message = emptyString);
914 #ifdef DOXYGEN_SHOULD_USE_THIS 935 #ifdef DOXYGEN_SHOULD_USE_THIS 959 #ifndef DOXYGEN_SHOULD_SKIP_THIS 960 SWIG_CONSTANT2(
int, DLG_YESNO_NO_BTN, CONTROL_NO_BUTTON);
961 SWIG_CONSTANT2(
int, DLG_YESNO_YES_BTN, CONTROL_YES_BUTTON);
962 SWIG_CONSTANT2(
int, DLG_YESNO_CUSTOM_BTN, CONTROL_CUSTOM_BUTTON);
Definition: GUIDialogExtendedProgressBar.h:46
Defining LOG_LIFECYCLE_EVENTS will log all instantiations, deletions and also reference countings (in...
Definition: Addon.cpp:25
virtual void deallocating()
This method is meant to be called from the destructor of the lowest level class.
Definition: AddonClass.h:82
Definition: ListItem.h:52
Definition: GUIDialogExtendedProgressBar.h:16
Definition: GUIDialogProgress.h:16
Definition: Alternative.h:17
This class is the superclass for all reference counted classes in the api.
Definition: AddonClass.h:57