mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-06 14:22:29 -06:00
UppWeb: Included access to web page source in footer .UppWeb: Included new release 2467 git-svn-id: svn://ultimatepp.org/upp/trunk@2470 f0d560ea-af0d-0410-9eb7-867de7ffcac7
60 lines
1.5 KiB
C++
60 lines
1.5 KiB
C++
#ifndef _uppweb_www_h_
|
|
#define _uppweb_www_h_
|
|
|
|
|
|
#include <Web/Web.h>
|
|
#include <RichText/RichText.h>
|
|
#include <plugin/gif/gif.h>
|
|
#include <CtrlLib/CtrlLib.h>
|
|
#include <ide/Browser/Browser.h>
|
|
|
|
using namespace Upp;
|
|
|
|
#ifdef _MULTITHREADED
|
|
#define MTC
|
|
#endif
|
|
|
|
struct SvnListRev : Moveable <SvnListRev> {
|
|
String author;
|
|
int revision;
|
|
Time time;
|
|
String fullPath;
|
|
};
|
|
|
|
struct SvnLogRev : Moveable <SvnLogRev> {
|
|
String revision;
|
|
String author;
|
|
Time time;
|
|
struct SvnChange : Moveable <SvnChange> {
|
|
String kind;
|
|
String action;
|
|
String path;
|
|
};
|
|
Vector<SvnChange> changes;
|
|
String msg;
|
|
Index<String> tags;
|
|
bool major;
|
|
};
|
|
|
|
extern String uppsrc;
|
|
extern String uppbox;
|
|
extern String bazaar;
|
|
extern String rootdir;
|
|
extern VectorMap<String, String> reflink;
|
|
extern VectorMap<String, SvnListRev> svndata;
|
|
extern Vector<SvnLogRev> svnlog;
|
|
|
|
String TopicFileName(const char *dir, const char *topic);
|
|
String TopicFileNameHtml(const char *topic);
|
|
String GatherTopics(VectorMap<String, Topic>& map, const char *topic, String& title);
|
|
String GatherTopics(VectorMap<String, Topic>& map, const char *topic);
|
|
|
|
String CppAsQtf(const String& s);
|
|
|
|
void GatherRefLinks(const char *upp);
|
|
|
|
void GetSvnList(VectorMap<String, SvnListRev> &data, const String &);
|
|
void GetSvnLog(Vector<SvnLogRev> &log);
|
|
String SvnChanges(Vector<SvnLogRev> &log, int limit, String filter, bool major = false);
|
|
|
|
#endif
|