diff options
author | etobi <git@e-tobi.net> | 2013-03-10 02:19:57 +0100 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-03-10 17:15:21 +0100 |
commit | 77f4101fcb296de31f4856376d2f93b2794fcc02 (patch) | |
tree | a1f0947c7789f408ef73f016da1487e32424435d /pageid.h | |
parent | 1dbdedfbbbd4fde5da95fdc07b0547517665c09e (diff) | |
download | vdr-plugin-osdteletext-77f4101fcb296de31f4856376d2f93b2794fcc02.tar.gz vdr-plugin-osdteletext-77f4101fcb296de31f4856376d2f93b2794fcc02.tar.bz2 |
Refactoring: Moved storage related classes into their own files
Diffstat (limited to 'pageid.h')
-rw-r--r-- | pageid.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pageid.h b/pageid.h new file mode 100644 index 0000000..cb2709d --- /dev/null +++ b/pageid.h @@ -0,0 +1,31 @@ +/*************************************************************** -*- c++ -*- + * Copyright (c) 2003,2004 by Marcel Wiesweg * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef __PAGEID_H +#define __PAGEID_H + +#include <vdr/status.h> +#include <vdr/receiver.h> +#include <vdr/thread.h> +#include <vdr/ringbuffer.h> + +#include <stdio.h> +#include <unistd.h> + +struct PageID { + PageID() { page=subPage=0; } + PageID(tChannelID id, int p, int s) { set(id, p, s); } + void set(tChannelID id, int p, int s) { channel=id; page=p; subPage=s; } + tChannelID channel; + int page; + int subPage; +}; + +#endif |