parent
ed30b86beb
commit
cb2bd8bc30
@ -0,0 +1,42 @@
|
||||
#include "ubinstall-gtk.h"
|
||||
|
||||
typedef struct {
|
||||
char *section;
|
||||
int sys_section;
|
||||
int user_section;
|
||||
int format;
|
||||
int size;
|
||||
char size_letter;
|
||||
char *part_label;
|
||||
char *fs_type;
|
||||
char *fs_label;
|
||||
char *encryption;
|
||||
char *encryption_password;
|
||||
|
||||
} advanced_section;
|
||||
|
||||
int sections_size=0;
|
||||
advanced_section *sections[2] = {NULL};
|
||||
|
||||
advanced_section *yon_advanced_section_new(){
|
||||
if (sections_size>=2) return NULL;
|
||||
|
||||
advanced_section *section = malloc(sizeof(advanced_section));
|
||||
memset(section,0,sizeof(advanced_section));
|
||||
sections[sections_size] = section;
|
||||
return section;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// add section from tree view
|
||||
void yon_advanced_add(main_window *widgets){
|
||||
if (sections_size<2){
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//new section from button
|
||||
void yon_advanced_new(main_window *widgets){
|
||||
|
||||
}
|
||||
Loading…
Reference in new issue