X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fbufferview_funcs.h;h=c2268f8a29bed3732f1c70c5ea309a1a4e12d1e3;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=e4026ce7327fddd7964d0f5a5589020c1cca3a5e;hpb=4cc7a7708e1753fc0ece02a9b8029ef1e9bd2921;p=lyx.git diff --git a/src/bufferview_funcs.h b/src/bufferview_funcs.h index e4026ce732..c2268f8a29 100644 --- a/src/bufferview_funcs.h +++ b/src/bufferview_funcs.h @@ -17,16 +17,14 @@ #include #include +namespace lyx { + +class Point; class BufferView; class DocIterator; class InsetBase_code; class LyXFont; -namespace lyx { -class Point; -} - - namespace bv_funcs { /// Set \param data using \param font and \param toggle. Return success. @@ -40,7 +38,7 @@ bool string2font(std::string const & data, LyXFont & font, bool & toggle); */ std::string const freefont2string(); -lyx::Point getPos(BufferView & bv, DocIterator const & dit, bool boundary); +Point getPos(BufferView const & bv, DocIterator const & dit, bool boundary); enum CurStatus { CUR_INSIDE, @@ -52,7 +50,7 @@ enum CurStatus { CurStatus status(BufferView const * bv, DocIterator const & dit); -lyx::Point coordOffset(BufferView const & bv, DocIterator const & dit, bool boundary); +Point coordOffset(BufferView const & bv, DocIterator const & dit, bool boundary); /// Moves cursor to the next inset with one of the given codes. void gotoInset(BufferView * bv, std::vector const & codes, @@ -71,4 +69,7 @@ void findInset(DocIterator & dit, InsetBase_code code, bool same_content); } // namespace bv_funcs + +} // namespace lyx + #endif