KVIrc 5.2.0
Developer APIs
KviMediaType.h
Go to the documentation of this file.
1#ifndef _KVI_MEDIATYPE_H_
2#define _KVI_MEDIATYPE_H_
3//=============================================================================
4//
5// File : KviMediaType.h
6// Creation date : Mon Aug 21 2000 17:19:56 CEST by Szymon Stefanek
7//
8// This file is part of the KVIrc IRC client distribution
9// Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net)
10//
11// This program is FREE software. You can redistribute it and/or
12// modify it under the terms of the GNU General Public License
13// as published by the Free Software Foundation; either version 2
14// of the License, or (at your option) any later version.
15//
16// This program is distributed in the HOPE that it will be USEFUL,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19// See the GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program. If not, write to the Free Software Foundation,
23// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24//
25//=============================================================================
26
27#include "kvi_settings.h"
28#include "KviHeapObject.h"
29#include "KviCString.h"
30
31//
32// IANA media-types matching subsystem
33//
34// WARNING: This class is used in multiple threads
35// Thus every usage of the classes and structures defined
36// in this file MUST be protected by calls
37// to KviMediaManager::lock() and KviMediaManager::unlock()
38//
39
41{
42 const char * filemask;
43 const char * magicbytes;
44 const char * ianatype;
45 const char * description;
46 const char * commandline;
47};
48
65
66#endif //_KVI_MEDIATYPE_H_
Heap Object.
Definition KviCString.h:102
Definition KviHeapObject.h:125
Definition KviMediaType.h:50
KviMediaType()
Definition KviMediaType.h:52
KviCString szMagicBytes
Definition KviMediaType.h:57
KviCString szCommandline
Definition KviMediaType.h:61
KviCString szFileMask
Definition KviMediaType.h:56
KviCString szSavePath
Definition KviMediaType.h:60
~KviMediaType()
Definition KviMediaType.h:53
KviCString szIcon
Definition KviMediaType.h:63
KviCString szIanaType
Definition KviMediaType.h:58
KviCString szRemoteExecCommandline
Definition KviMediaType.h:62
KviCString szDescription
Definition KviMediaType.h:59
This file contains compile time settings.
#define KVILIB_API
Definition kvi_settings.h:124
Definition KviMediaType.h:41
const char * ianatype
Definition KviMediaType.h:44
const char * description
Definition KviMediaType.h:45
const char * filemask
Definition KviMediaType.h:42
const char * magicbytes
Definition KviMediaType.h:43
const char * commandline
Definition KviMediaType.h:46