Skip to content

Commit b316da4

Browse files
committed
removed prompt::selected() function
1 parent 9e1182f commit b316da4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/menu.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ for correcting unsigned values validation
102102
}
103103
inline result operator()(FUNC_PARAMS) const {return (*shadow)(FUNC_VALUES);}
104104
idx_t printRaw(menuOut& out,idx_t len) const;
105-
#ifdef ASYNC_NAV
105+
#ifdef MENU_ASYNC
106106
virtual prompt* seek(idx_t* uri,idx_t len) {return len?NULL:this;}
107107
#endif
108108
#ifdef MENU_ASYNC
@@ -113,7 +113,7 @@ for correcting unsigned values validation
113113

114114
//some functions to use on htmlFmt
115115
// for enumerations:
116-
virtual idx_t selected() const {return 0;}
116+
//virtual idx_t selected() const {return 0;}
117117
#ifdef DEBUG
118118
virtual void printValue(menuOut&) const {}
119119
virtual void printHigh(menuOut&) const {}
@@ -269,7 +269,7 @@ for correcting unsigned values validation
269269
void clearChanged(const navNode &nav,const menuOut& out,bool sub) override;
270270
inline idx_t sz() const {return ((menuNodeShadow*)shadow)->_sz();}
271271
inline prompt* constMEM* data() const {return ((menuNodeShadow*)shadow)->_data();}
272-
#ifdef ASYNC_NAV
272+
#ifdef MENU_ASYNC
273273
prompt* seek(idx_t* uri,idx_t len) override;
274274
#endif
275275
#ifdef MENU_ASYNC
@@ -328,7 +328,7 @@ for correcting unsigned values validation
328328
}
329329
inline T& target() const {return ((menuVariantShadow<T>*)shadow)->target();}
330330
bool changed(const navNode &nav,const menuOut& out,bool sub=true) override;
331-
virtual idx_t selected() const {return reflex;}
331+
//virtual idx_t selected() const {return reflex;}
332332
};
333333

334334
template<typename T>//-------------------------------------------

0 commit comments

Comments
 (0)