Crossfire Server, Trunk
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
i
j
k
m
n
o
p
r
s
t
u
v
Enumerations
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
Properties
a
b
c
d
e
f
h
i
j
k
l
m
n
p
q
r
s
t
y
Related Functions
:
b
d
o
s
w
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
w
y
z
Typedefs
a
c
d
e
f
i
j
k
l
m
n
o
p
q
s
t
y
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
RecipesWrapper.h
Go to the documentation of this file.
1
/*
2
* Crossfire -- cooperative multi-player graphical RPG and adventure game
3
*
4
* Copyright (c) 2022 the Crossfire Development Team
5
*
6
* Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7
* welcome to redistribute it under certain conditions. For details, please
8
* see COPYING and LICENSE.
9
*
10
* The authors can be reached via e-mail at <crossfire@metalforge.org>.
11
*/
12
13
#ifndef RECIPES_WRAPPER_H
14
#define RECIPES_WRAPPER_H
15
16
#include <QObject>
17
#include <QStringList>
18
19
#include "
global.h
"
20
#include "
assets/AssetWrapper.h
"
21
22
class
ResourcesManager
;
23
24
class
RecipesWrapper
:
public
AssetWrapper
{
25
Q_OBJECT
26
27
public
:
28
RecipesWrapper
(
AssetWrapper
*parent,
ResourcesManager
*resourcesManager);
29
30
virtual
QString
displayName
()
const
{
return
tr(
"Recipes"
); }
31
32
virtual
int
childrenCount
()
const override
;
33
virtual
AssetWrapper
*
child
(
int
)
override
;
34
virtual
int
childIndex
(
AssetWrapper
*)
override
;
35
36
virtual
PossibleUse
uses
(
const
AssetWrapper
*asset, std::string &)
const override
;
37
38
protected
:
39
ResourcesManager
*
myResourcesManager
;
40
};
41
42
#endif // ARTIFACTS_WRAPPER_H
RecipesWrapper::displayName
virtual QString displayName() const
Definition:
RecipesWrapper.h:30
global.h
AssetWrapper.h
ResourcesManager
Definition:
ResourcesManager.h:80
RecipesWrapper::uses
virtual PossibleUse uses(const AssetWrapper *asset, std::string &) const override
Definition:
RecipesWrapper.cpp:43
RecipesWrapper::childrenCount
virtual int childrenCount() const override
Definition:
RecipesWrapper.cpp:24
RecipesWrapper::myResourcesManager
ResourcesManager * myResourcesManager
Definition:
RecipesWrapper.h:39
AssetWrapper::PossibleUse
PossibleUse
Definition:
AssetWrapper.h:32
RecipesWrapper::RecipesWrapper
RecipesWrapper(AssetWrapper *parent, ResourcesManager *resourcesManager)
Definition:
RecipesWrapper.cpp:19
RecipesWrapper::childIndex
virtual int childIndex(AssetWrapper *) override
Definition:
RecipesWrapper.cpp:32
AssetWrapper
Definition:
AssetWrapper.h:25
RecipesWrapper::child
virtual AssetWrapper * child(int) override
Definition:
RecipesWrapper.cpp:28
RecipesWrapper
Definition:
RecipesWrapper.h:24
crossfire-crossfire-server
utils
cre
recipes
RecipesWrapper.h
Generated by
1.8.17