Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Saving Settings & File Attributes

Saving Settings & File Attributes

From: Benjamin <mailinglists_at_samuraipanda.com>
Date: Thu, 16 Jan 2003 14:20:20 -0800

Hi all,
As I'm playing around with RockBox, I wanted to make sure I wouldn't
be over-writing or mis-using something, so I have a couple of questions.


1. In tree.c, it defines a number of attributes (TREE_ATTR_MPA, TREE_ATTR_M3U,
etc.) followed by a hex value. I want to add two attributes (bookmark
files and autobookmark (resume) files). Can I just pick a hex value
and use that? Seems too easy.

2. In settings.c: settings_save(), it saves a number of values to
the config block buffer. Again, I want to add two configuration
options (auto-create bookmarks and auto-load bookmarks). What values
should I use?

Thanks,
Ben
Received on 2003-01-16

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy