5 #define _(String) gettext(String)
6 #define gettext_noop(String) String
7 #define N_(String) gettext_noop (String)
10 FlipBook::FlipBook(MWindow *mwindow)
11 : BC_MenuItem(_("Flipbook..."))
13 this->mwindow = mwindow;
14 thread = new FlipBookThread(mwindow);
22 FlipBook::handle_event()
31 FlipBookThread::FlipBookThread(MWindow *mwindow)
34 this->mwindow = mwindow;
37 FlipBookThread::~FlipBookThread()
41 void FlipBookThread::::run()
44 ArrayList<FlipBookItem*> flipbooklist;
45 FlipBookGUI gui(this, mwindow);
47 int result = gui.run_window();
54 FlipBookGUI::FlipBookGUI(FlipBookThread *thread, MWindow *mwindow)
57 this->thread = thread;
58 this->mwindow = mwindow;
61 FlipBookGUI::~FlipBookGUI()
67 // c-file-style: "linux"