QCodeEdit
2.2
lib
snippets
qsnippetpatternloader.h
Go to the documentation of this file.
1
/****************************************************************************
2
**
3
** Copyright (C) 2006-2009 fullmetalcoder <fullmetalcoder@hotmail.fr>
4
**
5
** This file is part of the Edyuk project <http://edyuk.org>
6
**
7
** This file may be used under the terms of the GNU General Public License
8
** version 3 as published by the Free Software Foundation and appearing in the
9
** file GPL.txt included in the packaging of this file.
10
**
11
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13
**
14
****************************************************************************/
15
16
#ifndef _QSNIPPET_PATTERN_LOADER_H_
17
#define _QSNIPPET_PATTERN_LOADER_H_
18
24
class
QString;
25
26
class
QSnippet
;
27
28
class
QSnippetPatternLoader
29
{
30
public
:
31
virtual
~
QSnippetPatternLoader
() {}
32
33
virtual
QString type()
const
= 0;
34
35
virtual
QSnippet
* loadSnippet(
const
QString& pattern)
const
= 0;
36
virtual
bool
reloadSnippet(
QSnippet
* snip,
const
QString& pattern)
const
= 0;
37
};
38
39
#endif
QSnippetPatternLoader
The base class for snippet loaders.
Definition:
qsnippetpatternloader.h:28
QSnippet
The base class for snippets.
Definition:
qsnippet.h:33
Generated by
1.8.15