Re: [RFC] API for MAP client in obex-client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 3, 2011 at 3:08 PM, Hendrik Sattler <post@xxxxxxxxxxxxxxxxxx> wrote:
> Am 03.11.2011 14:44, schrieb Bartosz Szatkowski:
>>
>>               void SetFolder(boolean cdup, string name)
>>
>>                       Set working directory for current session.
>>
>>                       |  cdup  | folder name | operation    |
>>                       |=====================================|
>>                       | FALSE  | empty       | cd /         |
>>                       |--------+-------------+--------------|
>>                       | FALSE  | name        | cd name      |
>>                       |--------+-------------+--------------|
>>                       | TRUE   | [name]      | cd ..[/name] |
>>                       +-------------------------------------+
>
> Why not simply
>  void SetFolder(String cdString)
>
> and derive the obex command from that? It makes that API much easier to use.
>
> HS
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth"
> in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Because it provoke more questions eg. what about failure in the middle
of the path? Also i've planned to keep it at rather low level.

-- 
Pozdrowienia - Cheers,
Bartosz Szatkowski
��.n��������+%������w��{.n�����{����^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux