blob: 256d07ae72d7a2f1351eb883bc7603a151bed356 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Interface for our JavaScript-Interpreter
//
// Author: Jonas Bähr (C) 2005
//
// Copyright: See COPYING file that comes with this distribution
//
#ifndef KRJS_H
#define KRJS_H
#include <kjsembed/kjsembedpart.h>
/**
* Our own version of KJSEmbedPart. Here are all the Krusader-specific extensions implemented.
*
* @author Jonas Bähr (http://jonas-baehr.de/)
*/
class KrJS: public KJSEmbed::KJSEmbedPart {
public:
KrJS();
/**
* This loads and runs a file. In addition to the original runFile function it displays an popup
* on errors and sets some variables
*
* @par filename The file to run
*/
bool runFile(const TQString & filename);
};
#endif //KRJS_H
|