| 1 |
#pragma once |
| 2 |
|
| 3 |
#include "location_type.h" |
| 4 |
|
| 5 |
#include "LibLsp/JsonRpc/RequestInMessage.h" |
| 6 |
#include "LibLsp/JsonRpc/lsResponseMessage.h" |
| 7 |
|
| 8 |
//DEFINE_RESPONCE_TYPE(Rsp_FindLinkLocationList, std::vector<LinkLocation>); |
| 9 |
//DEFINE_RESPONCE_TYPE(Rsp_LocationList, std::vector<lsLocation>); |
| 10 |
|
| 11 |
namespace LocationListEither |
| 12 |
{ |
| 13 |
|
| 14 |
typedef std::pair<optional<std::vector<lsLocation>>, optional<std::vector<LocationLink>>> Either; |
| 15 |
|
| 16 |
}; |
| 17 |
extern void Reflect(Reader& visitor, LocationListEither::Either& value); |
| 18 |
//DEFINE_RESPONCE_TYPE(Rsp_LocationListEither, LocationListEither::Either); |