2003-09-02 10:29:05 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file IdSc.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Huang Ying
|
|
|
|
*
|
2003-09-02 17:02:32 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-09-02 10:29:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ID_SC_H
|
|
|
|
#define ID_SC_H
|
|
|
|
|
2003-10-06 15:43:21 +00:00
|
|
|
#include <string>
|
2003-09-02 10:29:05 +00:00
|
|
|
|
|
|
|
namespace id_sc
|
|
|
|
{
|
|
|
|
|
|
|
|
/// Extract shortcut from "<identifer>|<shortcut>" string
|
2003-10-06 15:43:21 +00:00
|
|
|
std::string const shortcut(std::string const &);
|
2003-09-02 10:29:05 +00:00
|
|
|
|
|
|
|
/// Extract identifier from "<identifer>|<shortcut>" string
|
2003-10-06 15:43:21 +00:00
|
|
|
std::string const id(std::string const &);
|
2003-09-02 10:29:05 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|