Oops, forgot to include vfr.h, previous rev doesn't compile

Originally committed to SVN as r938.
This commit is contained in:
Niels Martin Hansen 2007-02-15 13:02:36 +00:00
parent ffe5558ba1
commit bfa2edbe04
2 changed files with 10 additions and 1 deletions

View file

@ -41,6 +41,7 @@
#include "ass_override.h"
#include "text_file_reader.h"
#include "options.h"
#include "vfr.h"
#include "../lua51/src/lualib.h"
#include "../lua51/src/lauxlib.h"
#include <wx/msgdlg.h>

View file

@ -379,7 +379,10 @@ namespace Automation4 {
rb_set_errinfo(Qnil);
}
}
AssFile::top->FlagAsModified(_T(""));
if (can_set_undo) {
AssFile::top->FlagAsModified(_T(""));
}
}
int RubyAssFile::RubyParseTagData()
@ -397,6 +400,11 @@ namespace Automation4 {
int RubyAssFile::RubySetUndoPoint()
{
// I can think of two things to do here:
// One is to read in all of the subs from Ruby and cobvert back to AssEntry, inserting it into the file, then set undo point
// Another is to just scrap it and only support one undo point per macro execution, and simply save the message, using it
// to set the description when the actual undo point it set after execution.
// -jfs
return 0;
}