repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: more of the same. bugzid: 19
[deb_libcec.git]
/
include
/
cectypes.h
diff --git
a/include/cectypes.h
b/include/cectypes.h
index f561d84748692ebf7116562f0a8d3357fece687a..1b942e6d2c11f40d85960bd60ace0c7330931eac 100644
(file)
--- a/
include/cectypes.h
+++ b/
include/cectypes.h
@@
-738,13
+738,22
@@
typedef struct cec_device_type_list
cec_device_type types[5];
#ifdef __cplusplus
cec_device_type types[5];
#ifdef __cplusplus
- void clear(void)
+ /*!
+ * @deprecated
+ */
+ void clear(void) { Clear(); }
+ /*!
+ * @deprecated
+ */
+ void add(const cec_device_type type) { Add(type); }
+
+ void Clear(void)
{
for (unsigned int iPtr = 0; iPtr < 5; iPtr++)
types[iPtr] = CEC_DEVICE_TYPE_RESERVED;
}
{
for (unsigned int iPtr = 0; iPtr < 5; iPtr++)
types[iPtr] = CEC_DEVICE_TYPE_RESERVED;
}
- void
a
dd(const cec_device_type type)
+ void
A
dd(const cec_device_type type)
{
for (unsigned int iPtr = 0; iPtr < 5; iPtr++)
{
{
for (unsigned int iPtr = 0; iPtr < 5; iPtr++)
{