mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
0ea6558157
move Dialogs::add, Dialogs::destroySplash out-of-line git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1960 a592a061-630c-0410-9148-cb99ea01b6c8
36 lines
703 B
C
36 lines
703 B
C
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1995-2001 The LyX Team.
|
|
*
|
|
* ======================================================
|
|
*
|
|
* \file Dialogs.C
|
|
* \author Angus Leeming <a.leeming@ic.ac.uk>
|
|
*
|
|
* Methods common to all frontends' Dialogs that should not be inline
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
#ifdef __GNUG__
|
|
#pragma implementation
|
|
#endif
|
|
|
|
#include "Dialogs.h"
|
|
#include "support/LAssert.h"
|
|
|
|
void Dialogs::add(DialogBase * ptr)
|
|
{
|
|
lyx::Assert(ptr);
|
|
dialogs_.push_back(db_ptr(ptr));
|
|
}
|
|
|
|
void Dialogs::destroySplash()
|
|
{
|
|
splash_.reset();
|
|
}
|