mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@8727 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
19b13dbb1a
commit
87e4f0f83e
3 changed files with 23 additions and 1 deletions
|
|
@ -2,7 +2,8 @@ description "Assist tests - not to be compiled/run\377";
|
|||
|
||||
uses
|
||||
CtrlLib,
|
||||
Sql;
|
||||
Sql,
|
||||
TabBar;
|
||||
|
||||
file
|
||||
main.cpp;
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@
|
|||
#define _Assist_icpp_init_stub
|
||||
#include "CtrlLib/init"
|
||||
#include "Sql/init"
|
||||
#include "TabBar/init"
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
#include <Sql/Sql.h>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <TabBar/TabBar.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
@ -270,6 +271,25 @@ struct JumpToTest {
|
|||
int x; // test that this does not jump anywhere...
|
||||
}
|
||||
|
||||
struct JumpBase {
|
||||
void Foo();
|
||||
};
|
||||
|
||||
struct JumpDerived {
|
||||
void Foo() {
|
||||
JumpBase::Foo(); // should jump to JumpBase
|
||||
}
|
||||
};
|
||||
|
||||
struct MYTabs : FileTabs {
|
||||
void RenameFile(const WString &from, const WString &to, Image icon = Null);
|
||||
};
|
||||
|
||||
void MYTabs::RenameFile(const WString &from, const WString &to, Image icon)
|
||||
{
|
||||
FileTabs::RenameFile(from, to, icon); // should jump tp FileTabs, not here
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
GUI_APP_MAIN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue