chore: bump scintilla and lexilla version
This commit is contained in:
31
3rdparty/lexilla545/lexilla/lexlib/PropSetSimple.h
vendored
Normal file
31
3rdparty/lexilla545/lexilla/lexlib/PropSetSimple.h
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
// Scintilla source code edit control
|
||||
/** @file PropSetSimple.h
|
||||
** A basic string to string map.
|
||||
**/
|
||||
// Copyright 1998-2009 by Neil Hodgson <neilh@scintilla.org>
|
||||
// The License.txt file describes the conditions under which this software may be distributed.
|
||||
|
||||
#ifndef PROPSETSIMPLE_H
|
||||
#define PROPSETSIMPLE_H
|
||||
|
||||
namespace Lexilla {
|
||||
|
||||
class PropSetSimple {
|
||||
void *impl;
|
||||
public:
|
||||
PropSetSimple();
|
||||
// Deleted so PropSetSimple objects can not be copied.
|
||||
PropSetSimple(const PropSetSimple&) = delete;
|
||||
PropSetSimple(PropSetSimple&&) = delete;
|
||||
PropSetSimple &operator=(const PropSetSimple&) = delete;
|
||||
PropSetSimple &operator=(PropSetSimple&&) = delete;
|
||||
virtual ~PropSetSimple();
|
||||
|
||||
bool Set(std::string_view key, std::string_view val);
|
||||
const char *Get(std::string_view key) const;
|
||||
int GetInt(std::string_view key, int defaultValue=0) const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user