Feature #314 » XBMChttp.cpp.patch
xbmc/lib/libGoAhead/XBMChttp.cpp (working copy) | ||
---|---|---|
// options include the type, and pathsonly boolean
|
||
int iStart = 0;
|
||
int iEnd = 4;
|
||
int iEnd = 5;
|
||
bool bShowType = true;
|
||
bool bShowName = true;
|
||
... | ... | |
iEnd = 4;
|
||
bShowType = false;
|
||
}
|
||
else if (paras[0].Equals("programs"))
|
||
{
|
||
iStart = 4;
|
||
iEnd = 5;
|
||
bShowType = false;
|
||
}
|
||
else
|
||
numParas = 0;
|
||
}
|
||
... | ... | |
}
|
||
CStdString strOutput;
|
||
enum SHARETYPES { MUSIC, VIDEO, PICTURES, FILES };
|
||
enum SHARETYPES { MUSIC, VIDEO, PICTURES, FILES, PROGRAMS };
|
||
for (int i = iStart; i < iEnd; ++i)
|
||
{
|
||
CStdString strType;
|
||
... | ... | |
pShares = &g_settings.m_fileSources;
|
||
}
|
||
break;
|
||
case PROGRAMS:
|
||
{
|
||
strType = "programs";
|
||
pShares = &g_settings.m_programSources;
|
||
}
|
||
break;
|
||
}
|
||
if (!pShares)
|
- « Previous
- 1
- 2
- Next »