1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Drop incredibly dirty and huge file FastDelegate.h

It's way too over-engineered for what we need to do, and we can
do much simpler using C++11.
This commit is contained in:
Paul Cercueil
2013-07-29 12:58:25 -04:00
parent 9951ab2ab5
commit 88f54e1ccc
24 changed files with 72 additions and 2179 deletions

View File

@@ -198,7 +198,7 @@ void Menu::setSectionIndex(int i) {
/*====================================
LINKS MANAGEMENT
====================================*/
bool Menu::addActionLink(uint section, const string &title, LinkRunAction action, const string &description, const string &icon) {
bool Menu::addActionLink(uint section, const string &title, function_t action, const string &description, const string &icon) {
if (section>=sections.size()) return false;
Link *link = new Link(gmenu2x, ts, action);