lyx_mirror/src/FloatList.h
Lars Gullik Bjønnes 45a03f4f67 use the new sstream return non-pods as const, use string instead of char * in a lot of places
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1019 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-14 17:53:12 +00:00

48 lines
772 B
C++

// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1998-2000 The LyX Team.
*
* ======================================================
*/
#ifndef FLOATLIST_H
#define FLOATLIST_H
#ifdef __GNUG__
#pragma interface
#endif
#include <map>
#include "LString.h"
#include "Floating.h"
///
class FloatList {
public:
///
typedef std::map<string, Floating> List;
///
FloatList();
///
void newFloat(Floating const & fl);
///
string const defaultPlacement(string const & t) const;
///
bool typeExist(string const & t) const;
///
Floating const & getType(string const & t) const;
private:
///
List list;
};
///
extern FloatList floatList;
#endif