Style, no functional changes
Make termination consistant with that last commit hrev51521. As wished and proof-read by waddlesplash. Hope all's well...
This commit is contained in:
@@ -180,7 +180,8 @@ static property_info sPropertyInfo[] = {
|
|||||||
B_TRANSLATE("Seek by the specified amounts of microseconds."), 0,
|
B_TRANSLATE("Seek by the specified amounts of microseconds."), 0,
|
||||||
{ B_INT64_TYPE }
|
{ B_INT64_TYPE }
|
||||||
},
|
},
|
||||||
{ 0, { 0 }, { 0 }, 0, 0 }
|
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ static property_info sProperties[] = {
|
|||||||
"get or set the port device",
|
"get or set the port device",
|
||||||
0, { B_STRING_TYPE }
|
0, { B_STRING_TYPE }
|
||||||
},
|
},
|
||||||
{ NULL }
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
const BPropertyInfo SerialApp::kScriptingProperties(sProperties);
|
const BPropertyInfo SerialApp::kScriptingProperties(sProperties);
|
||||||
|
|||||||
@@ -851,7 +851,8 @@ static struct property_info g_ScriptingPropertyList [] =
|
|||||||
{B_DIRECT_SPECIFIER, 0}, "Gets the method used for combining the "
|
{B_DIRECT_SPECIFIER, 0}, "Gets the method used for combining the "
|
||||||
"individual word ratios into an overall score.", PN_SCORING_MODE,
|
"individual word ratios into an overall score.", PN_SCORING_MODE,
|
||||||
{}, {}, {}},
|
{}, {}, {}},
|
||||||
{0, {0}, {0}, 0, 0, {}, {}, {}} /* End of list of property commands. */
|
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -165,7 +165,8 @@ static property_info sPropertyInfo[] = {
|
|||||||
{},
|
{},
|
||||||
{}
|
{}
|
||||||
},
|
},
|
||||||
{}
|
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -83,7 +83,8 @@ static property_info sHandlerPropInfo[] = {
|
|||||||
{},
|
{},
|
||||||
{}
|
{}
|
||||||
},
|
},
|
||||||
{}
|
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
bool FilterDeleter(void* filter);
|
bool FilterDeleter(void* filter);
|
||||||
|
|||||||
@@ -94,7 +94,8 @@ static property_info sLooperPropInfo[] = {
|
|||||||
{},
|
{},
|
||||||
{}
|
{}
|
||||||
},
|
},
|
||||||
{}
|
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _loop_data_ {
|
struct _loop_data_ {
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ static property_info sPropertyList[] = {
|
|||||||
{ B_INT32_TYPE }
|
{ B_INT32_TYPE }
|
||||||
},
|
},
|
||||||
|
|
||||||
{0}
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -183,14 +183,8 @@ const property_info kPosesPropertyList[] = {
|
|||||||
{},
|
{},
|
||||||
{}
|
{}
|
||||||
},
|
},
|
||||||
{ NULL,
|
|
||||||
{},
|
{ 0 }
|
||||||
{},
|
|
||||||
NULL, 0,
|
|
||||||
{},
|
|
||||||
{},
|
|
||||||
{}
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -93,16 +93,8 @@ const property_info kTrackerPropertyList[] = {
|
|||||||
{},
|
{},
|
||||||
{}
|
{}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
NULL,
|
{ 0 }
|
||||||
{},
|
|
||||||
{},
|
|
||||||
NULL,
|
|
||||||
0,
|
|
||||||
{},
|
|
||||||
{},
|
|
||||||
{}
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,8 @@ property_info message_prop_list[] = {
|
|||||||
{B_DIRECT_SPECIFIER, 0}, "get icon as an archived bitmap"},
|
{B_DIRECT_SPECIFIER, 0}, "get icon as an archived bitmap"},
|
||||||
{ "progress", {B_GET_PROPERTY, B_SET_PROPERTY, 0},
|
{ "progress", {B_GET_PROPERTY, B_SET_PROPERTY, 0},
|
||||||
{B_DIRECT_SPECIFIER, 0}, "get the progress (between 0.0 and 1.0)"},
|
{B_DIRECT_SPECIFIER, 0}, "get the progress (between 0.0 and 1.0)"},
|
||||||
{ NULL }
|
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,8 @@ property_info main_prop_list[] = {
|
|||||||
"create a message"},
|
"create a message"},
|
||||||
{"message", {B_SET_PROPERTY, 0}, {B_INDEX_SPECIFIER, 0},
|
{"message", {B_SET_PROPERTY, 0}, {B_INDEX_SPECIFIER, 0},
|
||||||
"modify a message"},
|
"modify a message"},
|
||||||
{0}
|
|
||||||
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ static property_info prop_list[] = {
|
|||||||
{ "UseConfigWindow", { B_GET_PROPERTY, B_SET_PROPERTY },
|
{ "UseConfigWindow", { B_GET_PROPERTY, B_SET_PROPERTY },
|
||||||
{ B_DIRECT_SPECIFIER },
|
{ B_DIRECT_SPECIFIER },
|
||||||
B_TRANSLATE_MARK("Show configuration window") },
|
B_TRANSLATE_MARK("Show configuration window") },
|
||||||
|
|
||||||
{ 0 } // terminate list
|
{ 0 } // terminate list
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ static property_info prop_list[] = {
|
|||||||
B_TRANSLATE_MARK("Get name of the printer add-on used for this printer") },
|
B_TRANSLATE_MARK("Get name of the printer add-on used for this printer") },
|
||||||
{ "Comments", { B_GET_PROPERTY }, { B_DIRECT_SPECIFIER },
|
{ "Comments", { B_GET_PROPERTY }, { B_DIRECT_SPECIFIER },
|
||||||
B_TRANSLATE_MARK("Get comments about this printer") },
|
B_TRANSLATE_MARK("Get comments about this printer") },
|
||||||
|
|
||||||
{ 0 } // terminate list
|
{ 0 } // terminate list
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ static property_info prop_list[] = {
|
|||||||
B_TRANSLATE_MARK("Get name of transport") },
|
B_TRANSLATE_MARK("Get name of transport") },
|
||||||
{ "Ports", { B_GET_PROPERTY }, { B_DIRECT_SPECIFIER },
|
{ "Ports", { B_GET_PROPERTY }, { B_DIRECT_SPECIFIER },
|
||||||
B_TRANSLATE_MARK("Get currently available ports/devices") },
|
B_TRANSLATE_MARK("Get currently available ports/devices") },
|
||||||
|
|
||||||
{ 0 } // terminate list
|
{ 0 } // terminate list
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user