CPPMyth
Library to interoperate with MythTV server
mythintrinsic.h
1
/*
2
* Copyright (C) 2015 Jean-Luc Barriere
3
*
4
* This Program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2, or (at your option)
7
* any later version.
8
*
9
* This Program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; see the file COPYING. If not, write to
16
* the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
17
* MA 02110-1301 USA
18
* http://www.gnu.org/copyleft/gpl.html
19
*
20
*/
21
22
#ifndef MYTHINTRINSIC_H
23
#define MYTHINTRINSIC_H
24
25
namespace
Myth
26
{
27
class
IntrinsicCounter
28
{
29
public
:
30
IntrinsicCounter
(
int
val);
31
32
~
IntrinsicCounter
();
33
34
int
GetValue();
35
36
int
Increment();
37
38
int
Decrement();
39
40
private
:
41
struct
Counter
;
42
Counter
* m_ptr;
43
44
// Prevent copy
45
IntrinsicCounter
(
const
IntrinsicCounter
& other);
46
IntrinsicCounter
& operator=(
const
IntrinsicCounter
& other);
47
};
48
49
}
50
51
#endif
/* MYTHINTRINSIC_H */
Myth::IntrinsicCounter::Counter
Definition:
mythintrinsic.cpp:83
Myth
This is the main namespace that encloses all public classes.
Definition:
mythcontrol.h:29
Myth::IntrinsicCounter
Definition:
mythintrinsic.h:27
cppmyth
src
mythintrinsic.h
Generated on Thu Jan 9 2020 15:17:58 for CPPMyth by
1.8.13