mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-02 12:17:46 +08:00
fix 2 samples compile error caused by App's change
This commit is contained in:
parent
8a7b2863ab
commit
98de38ea9c
@ -3,9 +3,9 @@
|
||||
#include <getopt.h>
|
||||
#include <app/alertdialog.h>
|
||||
|
||||
static struct option app_options[]={
|
||||
{"dialog",required_argument,0,0},
|
||||
{"items" ,required_argument,0,0}
|
||||
std::vector<CLA::Argument> app_options={
|
||||
{CLA::EntryType::Switch, "", "dialog" ,"Show FPS ",CLA::ValueType::None, (int)CLA::EntryFlags::Optional},
|
||||
{CLA::EntryType::Switch, "", "items" , "Show FPS ",CLA::ValueType::None, (int)CLA::EntryFlags::Optional}
|
||||
};
|
||||
|
||||
int main(int argc,const char*argv[]){
|
||||
|
@ -39,9 +39,9 @@ public:
|
||||
ViewGroup::onDraw(canvas);
|
||||
}
|
||||
};
|
||||
static struct option appargs[]={
|
||||
{"type" ,1,0,0},
|
||||
{0,0,0,0}
|
||||
|
||||
std::vector<CLA::Argument> appargs={
|
||||
{CLA::EntryType::Switch, "", "type" , "animation type ",CLA::ValueType::None, (int)CLA::EntryFlags::Optional}
|
||||
};
|
||||
int main(int argc,const char*argv[]){
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user