libyui-rest-api
Loading...
Searching...
No Matches
YWidgetFinder.h
1
/*
2
Copyright (C) 2017 SUSE LLC
3
4
This library is free software; you can redistribute it and/or modify
5
it under the terms of the GNU Lesser General Public License as
6
published by the Free Software Foundation; either version 2.1 of the
7
License, or (at your option) version 3.0 of the License. This library
8
is distributed in the hope that it will be useful, but WITHOUT ANY
9
WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
11
License for more details. You should have received a copy of the GNU
12
Lesser General Public License along with this library; if not, write
13
to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
14
Floor, Boston, MA 02110-1301 USA
15
*/
16
17
#ifndef YWidgetFinder_h
18
#define YWidgetFinder_h
19
20
#include <string>
21
#include <vector>
22
23
class
YWidget;
24
25
typedef
std::vector<YWidget*> WidgetArray;
26
27
class
YWidgetFinder
28
{
29
30
public
:
31
32
// static WidgetArray find(const std::string &label, const std::string &id, const std::string &type);
33
static
WidgetArray find(
const
char
* label,
const
char
*
id
,
const
char
* type,
const
char
* debug_label );
34
35
static
WidgetArray by_label(
const
std::string &label);
36
37
static
WidgetArray by_id(
const
std::string &
id
);
38
39
static
WidgetArray by_type(
const
std::string &type);
40
41
static
WidgetArray by_debug_label(
const
std::string &debug_label);
42
43
static
WidgetArray all();
44
45
};
46
47
#endif
// YWidgetFinder_h
YWidgetFinder
Definition
YWidgetFinder.h:28
src
YWidgetFinder.h
Generated by
1.13.1