Naze32 clone with Frysky receiver
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* mbed Microcontroller Library
  2. * Copyright (c) 2006-2013 ARM Limited
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #ifndef MBED_FILELIKE_H
  17. #define MBED_FILELIKE_H
  18. #include "FileBase.h"
  19. #include "FileHandle.h"
  20. namespace mbed {
  21. /* Class FileLike
  22. * A file-like object is one that can be opened with fopen by
  23. * fopen("/name", mode). It is intersection of the classes Base and
  24. * FileHandle.
  25. */
  26. class FileLike : public FileHandle, public FileBase {
  27. public:
  28. /* Constructor FileLike
  29. *
  30. * Variables
  31. * name - The name to use to open the file.
  32. */
  33. FileLike(const char *name);
  34. virtual ~FileLike();
  35. };
  36. } // namespace mbed
  37. #endif